CONAN.conf

Contents

CONAN.conf#

Functions#

_prior_value(str_prior)

convert string prior into float/tuple

_skip_lines(file, n)

takes an open file object and skips the reading of lines by n lines

convert_numpy_to_native(obj)

Recursively convert NumPy objects to native Python types

create_configfile([lc_obj, rv_obj, fit_obj, filename, ...])

create configuration file that of lc_obj, rv_obj, amd fit_obj setup.

create_datfile([lc_obj, rv_obj, fit_obj, filename, verify])

create configuration file that of lc_obj, rv_obj, amd fit_obj setup.

create_yamlfile(lc_obj, rv_obj, fit_obj[, filename, ...])

Create a YAML file with the current setup of the light curve and radial velocity objects.

fit_configfile([config_file, out_folder, init_decorr, ...])

Run CONAN fit from configuration file.

format_yaml(data[, indent_size])

Create aligned YAML with proper spacing and formatting rules

load_configfile(configfile[, return_fit, init_decorr, ...])

configure CONAN from specified configfile (*.dat or *.yaml).

load_datfile([configfile, return_fit, init_decorr, ...])

configure CONAN from legacy dat file.

load_yamlfile(configfile[, return_fit, init_decorr, ...])

configure CONAN from yaml file.

new_getfile(object[, _old_getfile])

Get the source file of a class method.

rerun_result(result_folder[, out_folder, ...])

rerun the fit using config_save.dat file in a previous result folder.