CONAN.get_files.get_CHEOPS_data.save_CONAN_lcfile#
- CONAN.get_files.get_CHEOPS_data.save_CONAN_lcfile(bjd_ref=2450000, folder='data', out_filename=None, rescale_data=True, columns=['time', 'flux', 'flux_err', 'xoff', 'yoff', 'roll_angle', 'bg', 'contam', 'deltaT'])#
Save CHEOPS light curves as a CONAN light curve file. the output columns are as given in the columns parameter.
- Parameters:
bjd_ref (float) – BJD reference time to use for the light curve file.
folder (str) – Folder to save the light curve file in.
out_filename (str,None) – Name of the output file. Default is None in which case the file will be named as “{planet_name}_{TG_file_key_no}.dat” if f
rescale_data (bool) – Rescale the data to between 0 and 1. Default is True.
columns (list of str) – List of columns to save in the light curve file. column names must be in [‘time’,’flux’,’flux_err’,’xoff’,’yoff’,’roll_angle’,’bg’,’contam’,’deltaT’,’smear’]. Default is [‘time’,’flux’,’flux_err’,’xoff’,’yoff’,’roll_angle’,’bg’,’contam’,’deltaT’]. Note that this list determines the order of the columns in the output file.