save_src_models¶
-
save_src_models(sky_images, file_path, obs_info_dict, creator, proc_id='01')[source]¶ save models independant shadowgrams in fits file ECL-DET-MOD
use common keywords
filename is ‘ECL-DET-MOD-‘ + proc_id + ‘.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
- obs_info_dict (dict) – dictionnary containing relevant variables for observation Includes following keys: tstart (type: float), tstop (type: float), energy_ranges (type: [[int, int]]) and attitude (type: [ra, dec, ori])
- creator (string) – program that has generated the file.
- proc_id (string) – id of the process. Default=”01”.