CONAN.conf.fit_configfile#
- CONAN.conf.fit_configfile(config_file='input_config.dat', out_folder='output', init_decorr=False, rerun_result=True, resume_sampling=False, lc_path=None, rv_path=None, shared_params={}, verbose=False)#
Run CONAN fit from configuration file. This loads the config file and creates the required objects (lc_obj, rv_obj, fit_obj) to perform the fit.
- Parameters:
config_file (filepath;) – path to configuration file.
out_folder (filepath;) – path to folder where output files will be saved.
init_decorr (bool;) – whether to run least-squares fit to determine start values of the decorrelation parameters. Default is False
rerun_result (bool;) – whether to rerun using with already exisiting result inorder to remake plots/files. Default is True
resume_sampling (bool;) – resume sampling from last saved position
lc_path (str;) – path to light curve files. If None, the path in the config file is used.
rv_path (str;) – path to radial velocity files. If None, the path in the config file is used.
shared_params (dict;) – dictionary of parameters to be shared
verbose (bool;) – show print statements
- Returns:
result – result object containing chains of the fit.
- Return type:
object;