save_catalogs

save_catalogs(catalogs_output, file_path, eded, obs_info_dict, 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
  • eded (ECLAIRsDetectorEffect object) – ECLAIRsDetectorEffect object containing path to ARF 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”.