save_sky_images_debug

save_sky_images_debug(sky_images, file_path, tstart, tstop, energy_ranges, creator, proc_id='01')[source]

save auxiliary images in fits file ECL-SKY-IMA_DEBUG

use common keywords

filename is ‘ECL-SKY-IMA-‘ + proc_id + ‘_DEBUG.fits’

file contains: for each source model, the shadowgram of the source

Parameters:
  • sky_images (list(SkyImages)) – list of sky images and models
  • file_path (string) – PATH to the directory where to write the file
  • tstart (float) – start time of the observation in s from mjdref
  • tstop (float) – end time of the observation in s from mjdref
  • energy_ranges ([[int, int]]) – energy ranges (in PI) of the images [[low_energy, high_energy],[]]
  • creator (string) – program that has generated the file.
  • proc_id (string) – id of the process. Default=”01”.