get_grouped_psf_model¶
- photutils.psf.get_grouped_psf_model(template_psf_model, star_group, pars_to_set)[source]¶
Deprecated since version 1.9.0: The get_grouped_psf_model function is deprecated and may be removed in a future version.
Construct a joint PSF model which consists of a sum of PSF’s templated on a specific model, but whose parameters are given by a table of objects.
- Parameters:
- template_psf_model
astropy.modeling.Fittable2DModel
instance The model to use for individual objects. Must have parameters named
x_0
,y_0
, andflux
.- star_group
Table
Table of stars for which the compound PSF will be constructed. It must have columns named
x_0
,y_0
, andflux_0
.- pars_to_set
dict
A dictionary of parameter names and values to set.
- template_psf_model
- Returns:
- group_psf
An
astropy.modeling
CompoundModel
instance which is a sum of the given PSF models.