MicroLensArray

class hcipy.optics.MicroLensArray(input_grid, lenslet_grid, focal_length, lenslet_shape=None)

Bases: hcipy.optics.optical_element.OpticalElement

A parabolic micro-lens array.

Parameters
input_gridGrid

The grid on which the micro-lens array is evaluated.

lenslet_gridGrid

A grid containing the lenslet positions.

focal_lengthscalar

The focal length of the micro-lenses

lenslet_shapefield generator

The shape of a lenslet.

Methods Summary

backward(self, wavefront)

Propagate a wavefront backward through the optical element.

forward(self, wavefront)

Propagate a wavefront forward through the optical element.

Methods Documentation

backward(self, wavefront)

Propagate a wavefront backward through the optical element.

A backward propagation is a literal backward propagation through the element. It is not (in general) the inverse of the forward propagation, except in cases where energy is conserved.

This function will be implemented by the derived class.

Parameters
wavefrontWavefront

The wavefront to propagate.

Returns
Wavefront

The propagated wavefront.

forward(self, wavefront)

Propagate a wavefront forward through the optical element.

This will be implemented by the derived class.

Parameters
wavefrontWavefront

The wavefront to propagate.

Returns
Wavefront

The propagated wavefront.