CONAN._classes.load_lightcurves.rescale_data_columns#
- CONAN._classes.load_lightcurves.rescale_data_columns(method='med_sub', columns='all', verbose=True)#
Function to rescale the data columns of the lightcurves. This can be important when decorrelating the data with polynomials. The operation is not performed on columns 0,1,2. It is only performed on columns whose values do not span zero. Function can only be run once on the loaded datasets but can be reset by running load_lightcurves() again.
- Parameters:
method (str) – can be one of [“med_sub”, “rs0to1”, “rs-1to1”,”None”] which subtracts the median, rescales t0 [0-1], rescales to [-1,1], or does nothing, respectively. The default is “med_sub” which subtracts the median from each column.
columns (list or "all";) – list of columns to rescale. default is “all” to consider rescaling all columns (except columns 0,1,2). otherwise, list of column integer number up to 8 e.g columns = [3,4,6,7]
- _rescaled_data#
- flagbool;
True if the data columns have been rescaled.
- configlist;
list of methods used for rescaling each lightcurve.
- Type:
SimpleNamespace;