CONAN._classes.load_lightcurves.lc_baseline#
- CONAN._classes.load_lightcurves.lc_baseline(fit_offset='y', dcol0=0, dcol3=0, dcol4=0, dcol5=0, dcol6=0, dcol7=0, dcol8=0, sin='n', grp=None, grp_id=None, gp='n', re_init=False, verbose=True)#
Define baseline model parameters to fit for each light curve using the columns of the input data. dcol0 refers to decorrelation setup for column 0, dcol3 for column 3 and so on. Each baseline decorrelation parameter (dcolx) should be a list of integers specifying the polynomial order for column x for each light curve. e.g. Given 3 input light curves, if one wishes to fit a 2nd order trend in column 0 to the first and third lightcurves, then dcol0 = [2, 0, 2]. The decorrelation parameters depend on the columns (col) of the input light curve. Any desired array can be put in these columns to decorrelate against them. Note that col0 is usually the time array.
- Parameters:
fit_offset (y/n str, list (same length as file_list)) – whether or not to fit an offset to each LC
dcol0 (list of ints;) – polynomial order to fit to each column. Default is 0 for all columns.
dcol3 (list of ints;) – polynomial order to fit to each column. Default is 0 for all columns.
dcol4 (list of ints;) – polynomial order to fit to each column. Default is 0 for all columns.
dcol5 (list of ints;) – polynomial order to fit to each column. Default is 0 for all columns.
dcol6 (list of ints;) – polynomial order to fit to each column. Default is 0 for all columns.
dcol7 (list of ints;) – polynomial order to fit to each column. Default is 0 for all columns.
dcol8 (list of ints;) – polynomial order to fit to each column. Default is 0 for all columns.
grp_id (list (same length as file_list);) – group the different input lightcurves by id so that different transit depths can be fitted for each group.
gp (list (same length as file_list);) – list containing ‘y’, ‘n’, or ‘ce’ to specify if a gp will be fitted to a light curve. + ‘y’ indicates that the george gp package will be used while ‘ce’ uses the celerite package.
re_init (bool;) – if True, re-initialize all other methods to empty. Default is False.
- _bases#
list of baseline model parameters for each light curve. Each element is a list of 9 integers corresponding to the polynomial order to fit to each column of the light curve.
- Type:
list;
- _fit_offset#
list of ‘y’ or ‘n’ for each light curve indicating if an offset is to be fitted.
- Type:
list;
- _groups#
list of group ids for each light curve. Default is None.
- Type:
list;
- _useGPphot#
list of ‘n’, ‘ce’,’ge’,or ‘sp’ for each light curve indicating if a GP is to be fitted.
- Type:
list;
- _gp_lcs#
list of lightcurve filenames for which a GP is to be fitted.
- Type:
list;