save_detector_raw_image

save_detector_raw_image(det_image: ecpi.process.bube.core.main_bube.DetectorImages, tstart, tstop, file_path, attitude, creator='BUBE?', proc_id='01')[source]

save detector raw images in a fits file : ECL-DET-IMA

common keywords are used

filename is (‘ECL-DET-IMA-‘ + proc_id + ‘.fits’)

Parameters:
  • det_image (DetectorImages) – detector image to save
  • tstart (float) – start time of the observation in s from mjdref
  • tstop (float) – end time of the observation in s from mjdref
  • file_path (string) – PATH to the directory where to write the file
  • attitude ([float, float, float]) – [ra, dec, ori] in degrees
  • creator (string) – program that has generated the file. Default=’BUBE?’.
  • proc_id (string) – id of the process. Default=”01”.