namespace profile_theory
[No description available] More…
Functions
Name | |
---|---|
def | profile(file_name file_name, frac_error frac_error =0.1, min_ min_ =0., max_ max_ =1., log_normal log_normal =True) |
Attributes
Name | |
---|---|
FILE_NAME | |
ARGS |
Detailed Description
Profile a chi-squared in a data file with a fractional theory error
===================================================================
python profile_theory.py <file> <frac-error> <min> <max> <log-normal>
prints (parameter, profiled chi-squared) from a file containing
(parameter, chi-squared).
Functions Documentation
function profile
def profile(
file_name file_name,
frac_error frac_error =0.1,
min_ min_ =0.,
max_ max_ =1.,
log_normal log_normal =True
)
Profile a chi-squared in a data file with a fractional theory error
Args:
file_name (str): Data file with columns (parameter, chi-squared).
frac_error (float, optional): Fractional theory error on the parameter.
min_ (float, optional): Minimum value of parameter.
max_ (float, optional): Maximum value of parameter.
log_normal (bool, optional): Whether to use log-normal or normal error.
Returns:
list(tuples): List of (parameter, profiled chi-squared)
Attributes Documentation
variable FILE_NAME
FILE_NAME = sys.argv[1];
variable ARGS
ARGS = map(float, sys.argv[2:]);
Updated on 2022-08-03 at 12:57:54 +0000