Simple start-up tools for ExoSOFTmodel

Contents:

ExoSOFTmodel.tools.load_di_data(filename)[source]

Load the astrometry data into a numpy array.

file format: title column headers data . . .

Data must be in the columns: obsDate[JD] x[“] x_error[“] y[“] y_error[“] OR if pasa key in settingsAdvanced ==True, then: obsDate[JD] PA[deg] PA_error[deg] SA[“] SA_error[“]

ExoSOFTmodel.tools.load_rv_data(filename)[source]

Load the radial velocity data into a numpy array. Provided jitter values will be added in quadrature with the errors.

file format: title column headers data . . Empty line between data sets data . .

Data must be in the columns: obsDate[JD] RV[m/s] RV_error[m/s] jitter[m/s] datasetNumber[int] NOTE: datasetNumber is optional, if not provided they will be automatically set to 0,1,2... following the order of the data in the file.

If jitter is not provided, it will be assumed zero.
ExoSOFTmodel.tools.load_settings_dict(settings_filename)[source]

A way to load in settings from a settings an ExoSOFT type settings file.

Users can choose to copy and modify the one provided in the ‘examples’ directory to match the system they are working on, or write their own function like this to load in the required parameters/arrays... that comprise all the inputs for ExoSOFTpriors, ExoSOFTdata and ExoSOFTparams.

NOTE: THE DICTIONARY KEY WORDS USED HERE DO NOT WORK FOR OLD EXOSOFT SETTINGS FILES. NEED TO CHANGE ALL OF THEM TO THIS FORMAT EVENTUALLY!!!!

ExoSOFTmodel.tools.make_starting_params(pars, n, scale=0.01)[source]

Creates an array of starting guesses tightly centered on the input parameters.