build_source_model

build_source_model(find_max_source, src_model, snr_limit, source_id)[source]

simulation, deconvolution and fit of the source alone, and normalize its flux

Parameters:
  • find_max_source (SrcFind.MaxSourceFinder) – position of the source in the sky image
  • src_model (ImProcess.ImagingMiniPipeline) – last source model to be updated
  • snr_limit (float) – minimum snr for a source to be detected
  • source_id (string) – id of the source = proc_id + ‘_’ + str(source_indice)
Returns:

simu and deconv of the model of the new source,

normalization factor of the source model :rtype: ImProcess.ImagingMiniPipeline, float