save_catalogs¶
-
save_catalogs(catalogs_output, file_path, tstart, tstop, energy_ranges, creator, proc_id='01')[source]¶ save output sources catalogs in fits file ECL-SOP-IMA
use common keywords
filename is ‘ECL-SOP-IMA-‘ + proc_id + ‘.fits’
file contains: for each energy bands, the catalog of identified sources
Parameters: - catalogs_output (list(CatalogIdentifiedSources)) – list of sources catalogs
- 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 catalogs [[low_energy, high_energy],[]]
- creator (string) – program that has generated the file.
- proc_id (string) – id of the process. Default=”01”.