actsnclass.DataBase.load_features¶
-
DataBase.load_features(path_to_file: str, method='Bazin', screen=False, survey='DES', sample=None)¶ Load features according to the chosen feature extraction method.
Populates properties: data, features, feature_list, header and header_list.
Parameters: - path_to_file (str) – Complete path to features file.
- method (str (optional)) – Feature extraction method. The current implementation only accepts method==’Bazin’ or ‘photometry’. Default is ‘Bazin’.
- screen (bool (optional)) – If True, print on screen number of light curves processed. Default is False.
- survey (str (optional)) – Survey used to obtain the data. The current implementation only accepts survey=’DES’ or ‘LSST’. Default is ‘DES’.
- sample (str (optional)) – If None, sample is given by a column within the given file. else, read independent files for ‘train’ and ‘test’. Default is None.