save_lightcurve

save_lightcurve(file_path, light_curve_table, tstart, tstop, attitude, creator='SOEX?', proc_id='01')[source]

write the light curve into a fits file ECL-LCS-S1

common keywords are included

filename is ‘ECL-LCS-S1-‘ + proc_id + ‘.fits’

Parameters:
  • file_path (string) – PATH to the directory where to write the file
  • light_curve_table (astropy.table.Table) – light curve of the source
  • tstart (float) – start time of the observation in s from mjdref
  • tstop (float) – end time of the observation in s from mjdref
  • attitude ([float, float, float]) – [ra, dec, ori] in degrees
  • creator (string) – program that has generated the file. Default=’SOEX?’
  • proc_id (string) – id of the process. Default=”01”.