createGalsimZernike#

lsst.ts.wep.utils.createGalsimZernike(zkCoeff, jmin=4, obscuration=0.612)#

Create a GalSim Zernike object with the given coefficients.

Parameters:
  • zkCoeff (np.ndarray) – Zernike coefficients in any units.

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

  • obscuration (float, optional) – The fractional obscuration. (the default is 0.612, corresponding to the Simonyi Survey Telescope.)

Returns:

A GalSim Zernike object

Return type:

galsim.zernike.Zernike

Raises:

ValueError – If jmin is negative