add_external_sources

grizli.prep.add_external_sources(root='', maglim=20, fwhm=0.2, catalog='2mass')[source]

Add Gaussian sources in empty parts of an image derived from an external catalog

Parameters
rootstr

Root of the drizzled image.

maglimfloat

Magnitude limit for the external catalog.

fwhmfloat

FWHM of the Gaussian sources to add.

catalogstr

External catalog to use. Options are ‘2mass’, ‘panstarrs’, ‘ukidss’, ‘gaia’.

Returns
Updates the drizzled image with the added sources.