read_imag_config

read_imag_config(cfg, log=None)[source]

read the general imag config parameters

Parameters:
  • cfg (ConfigParser) – pipeline input configuration
  • log (logger) – optionnal logger for unit tests
Returns:

dictionary containing the necesary parameters for the IMAG module.

Type:

dict

Variables:
  • version – pipeline version to determine which deconv and simu module to use [‘1’ or ‘1.1’]
  • src_subimage_size – nb of pixels around the detected source (radius) kept in the final sky image
  • snr_limit – snr limit to stop at the source detection algorithm
  • fit_function – function to fit the precise source location.
  • fit_sigma – standard deviation of the gaussian fit_function. Default is 1.555.
  • off_axis – off axis correction. Default=None