build_source_model¶
-
build_source_model(find_max_source, src_model, 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
- source_id (string) – id of the source = proc_id + ‘_’ + str(source_indice)
Returns: simu and deconv of the model of the new source, normalisation factor of the source model
Return type: ImProcess.ImagingMiniPipeline, float