read_catalog¶
-
read_catalog(cfg, obs_id, catalog_fov, log=None)[source]¶ get the catalog for sources identification
- catalog_ref_type :
- sources_file : configuration file with a list of sources
- swift_cat : swift-BAT catalog
- ECLAIRs_cat : a ECLAIRs sources catalog
Parameters: - cfg (ConfigParser) – configuration container from the configuration file
- obs_id (string) – observation section
- catalog_fov (CatalogFovEclairs) – sources reference catalog
- log (logger) – optionnal logger for unit tests
Returns: updated sources catalog used in the simulation
Return type: