imag

imag(dict_data, dict_pars)[source]

IMAG module

Imaging and Source detection main process

error_code =
  • ‘OK’ if everything was fine
  • ‘ImagError’ if an error occur
Parameters:dict_pars (dict) – dictionnary with all necessary parameters to _ecpi_processing BUBE pipeline. Contains keys enery_ranges, bkg_correction_mode, events and pvtatt.
Returns:found sources catalog, sky_images, new_source_flag
Return type:CatalogIdentifiedSources, SkyImages, bool