getPsfGradPerZernike

lsst.ts.wep.utils.getPsfGradPerZernike(diameter: float = 8.36, obscuration: float = 0.612, jmin: int = 4, jmax: int = 22) ndarray

Get the gradient of the PSF FWHM with respect to each Zernike.

This function takes no positional arguments. All parameters must be passed by name (see the list of parameters below).

Parameters

diameterfloat, optional

The diameter of the telescope aperture, in meters. (the default, 8.36, corresponds to the LSST primary mirror)

obscurationfloat, optional

Central obscuration of telescope aperture (i.e. R_outer / R_inner). (the default, 0.612, corresponds to the LSST primary mirror)

jminint, optional

The minimum Noll index, inclusive. Must be >= 0. (the default is 4)

jmaxint, optional

The max Zernike Noll index, inclusive. Must be >= jmin. (the default is 22.)

Returns

np.ndarray

Gradient of the PSF FWHM with respect to the corresponding Zernike. Units are arcsec / micron.

Raises

ValueError

If jmin is negative or jmax is less than jmin