createGalsimZernike

lsst.ts.wep.utils.createGalsimZernike(zkCoeff: ndarray, jmin: int = 4, obscuration: float = 0.612) Zernike

Create a GalSim Zernike object with the given coefficients.

Parameters

zkCoeffnp.ndarray

Zernike coefficients in any units.

jminint, optional

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

obscurationfloat, optional

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

Returns

galsim.zernike.Zernike

A GalSim Zernike object

Raises

ValueError

If jmin is negative