IntrinsicZernikes#
- class lsst.ip.isr.IntrinsicZernikes(table=None, **kwargs)#
Bases:
IsrCalibIntrinsic Zernike coefficients.
Stores Zernike wavefront-error coefficients sampled at a set of focal-plane field angles. At query time the coefficients are interpolated to an arbitrary field position.
Field angles are expressed in the Camera Coordinate System (CCS), also known as the Engineering Diagram Coordinate System. See LSE-349 for the definition.
Parameters#
- table
astropy.table.Table, optional Source table. Must contain columns:
"x"Field x positions (in CCS) with angular units (e.g.
u.deg)."y"Field y positions (in CCS) with angular units (e.g.
u.deg)."Z{j}"One column per Noll index j, with length units (e.g.
u.um).
Attributes#
- field_x
numpy.ndarray CCS x field positions in degrees for all sample points, shape
(n_points,).- field_y
numpy.ndarray CCS y field positions in degrees for all sample points, shape
(n_points,).- noll_indices
numpy.ndarray Noll indices of the stored Zernike terms, shape
(n_zernikes,).- values
numpy.ndarray Zernike coefficients in microns, shape
(n_points, n_zernikes).- interpolator
scipy.interpolate.LinearNDInterpolatororNone Interpolator built from
field_x,field_y, andvalues.Noneuntil the calibration is populated.
Methods Summary
fromDict(dictionary)Construct an IntrinsicZernikes from dictionary of properties.
fromTable(tableList)Construct calibration from a list of tables.
getIntrinsicZernikes(field_x, field_y[, ...])Get the intrinsic Zernike coefficients at a given field position.
toDict()Return a dictionary containing the calibration properties.
toTable()Construct a list of tables containing the information in this calibration.
Methods Documentation
- classmethod fromDict(dictionary)#
Construct an IntrinsicZernikes from dictionary of properties.
Parameters#
- dictionary
dict Dictionary of properties.
Returns#
- calib
lsst.ip.isr.IntrinsicZernikes Constructed calibration.
Raises#
- RuntimeError
Raised if the supplied dictionary is for a different calibration type.
- dictionary
- classmethod fromTable(tableList)#
Construct calibration from a list of tables.
Parameters#
- tableList
list[astropy.table.Table] List of tables to use to construct the intrinsic zernikes calibration.
Returns#
- calib
lsst.ip.isr.IntrinsicZernikes The calibration defined in the tables.
- tableList
- getIntrinsicZernikes(field_x, field_y, noll_indices=None)#
Get the intrinsic Zernike coefficients at a given field position.
Parameters#
- field_x
array-like CCS x-field positions in degrees.
- field_y
array-like CCS y-field positions in degrees.
- noll_indices
list[int], optional List of Noll indices to return. If None, return all.
Returns#
- zernikes
array-like Array of Zernike coefficient values in microns corresponding to the requested Noll indices and field positions.
- field_x
- table