getPsfGradPerZernike#

lsst.ts.wep.utils.getPsfGradPerZernike(diameter=8.36, obscuration=0.612, jmin=4, jmax=22)#

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:
  • diameter (float, optional) – The diameter of the telescope aperture, in meters. (the default, 8.36, corresponds to the LSST primary mirror)

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

  • jmin (int, optional) – The minimum Noll index, inclusive. Must be >= 0. (the default is 4)

  • jmax (int, optional) – The max Zernike Noll index, inclusive. Must be >= jmin. (the default is 22.)

Returns:

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

Return type:

np.ndarray

Raises:

ValueError – If jmin is negative or jmax is less than jmin