save_detector_images

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

save detector images in two fits files : ECL-DET-IMA and ECL-DET-UBC

This function call save_detector_raw_image and save_detector_corrected_image

common keywords are used filenames are (‘ECL-DET-IMA-‘ + proc_id + ‘.fits’) and (‘ECL-DET-UBC-‘ + proc_id + ‘.fits’)

Parameters:
  • det_image (DetectorImages) – detector image to save
  • attitude ([float, float, float]) – [ra, dec, ori] in degrees
  • 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
  • creator (string) – program that has generated the file. Default=’BUBE?’.
  • proc_id (string) – id of the process. Default=”01”.