synphot_encircled_energy

grizli.utils.synphot_encircled_energy(obsmode='wfc3,ir,f160w', sp='default', aper_radii=[0.1, 0.15, 0.2, 0.25, 0.3, 0.4, 0.5, 0.8, 1.0, 1.5, 2.0], norm_radius=4.0)[source]

Compute encircled energy curves with pysynphot

Parameters
obsmodestr
The observation mode string specifying the

instrument, detector, and filter.

sppysynphot.spectrum.SourceSpectrum or None, optional

The source spectrum to use for the calculation. If None, a flat spectrum with a magnitude of 25 AB mag is used.

aper_radiiarray-like, optional

The array of aperture radii in arcseconds at which to compute the encircled energy. Default is [0.1, 0.15, 0.2, 0.25, 0.3, 0.4, 0.5, 0.8, 1.0, 1.5, 2.0].

norm_radiusfloat, optional

The normalization radius in arcseconds. The encircled energy at this radius will be used to normalize the encircled energy curve. If set to np.inf, the normalization will be performed using the full aperture. Default is 4.0.

Returns
countsarray-like

The array of encircled energy counts normalized to the counts at the normalization radius.