lentil.plane.TiltInterface#

class lentil.plane.TiltInterface(**kwargs)[source]#

Utility class for holding common lofic shared by classes that need to implement the tilt interface.

Parameters:

**kwargs (Plane parameters) – Keyword arguments passed to Plane constructor

Notes

If ptype is not provided, it defaults to lentil.tilt.

See also

Tilt, DispersiveTilt

Attributes

amplitude

Electric field amplitude transmission

diameter

Plane diameter

global_mask

Flattened view of mask

mask

Binary transmission mask

opd

Optical path difference

pixelscale

Physical sampling of each pixel in the plane

ptt_vector

2D vector representing piston and tilt in x and y.

ptype

Plane type

shape

Plane dimensions computed from mask.

size

Number of independent masks (segments) in mask

Methods

copy()

Make a copy of this object.

fit_tilt([inplace])

Fit and remove tilt from Plane opd via least squares.

multiply(wavefront)

Multiply with a wavefront.

resample(pixelscale)

Resample a plane via interpolation.

rescale(scale)

Rescale a plane via interpolation.

shift(wavelength, x0, y0, **kwargs)

TODO