CONAN._classes.load_rvs.rescale_data_columns#
- CONAN._classes.load_rvs.rescale_data_columns(method='med_sub', columns='all', verbose=True)#
Function to rescale the data columns of the RVs. 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_rvs() 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 5 e.g columns = [3,4]
- _rescaled_data#
flag to indicate if the data columns have been rescaled. Default is False. config : list; list of method used for rescaling each RV data.
- Type:
SimpleNamespace;