save_ecl_det_ubc¶
-
save_ecl_det_ubc(det_image: ecpi.process.bube.core.main_bube.DetectorImages, tstart, tstop, file_path, attitude, eded: ecpi.common.instru.model_effect.ECLAIRsDetectorEffect, creator='BUBE?', proc_id='01')[source]¶ save detector corrected images in a fits file : ECL-DET-UBC
common keywords are used
..warning: it is assumed the global efficiency matrix is the same for each channel !
filename is (‘ECL-DET-UBC-‘ + 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
- eded (ECLAIRsDetectorEffect object) – ECLAIRsDetectorEffect object containing path to ARF 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”.