FourierTransform

class hcipy.fourier.FourierTransform

Bases: object

The base class for all Fourier transform implementations.

Attributes
input_gridGrid

The grid that is expected for the input field.

output_gridGrid

The grid that is produced by the Fourier transform.

Methods Summary

backward(self, field)

Returns the inverse Fourier transform of the Field field.

forward(self, field)

Returns the forward Fourier transform of the Field field.

get_transformation_matrix_backward(self)

Returns the transformation matrix corresonding to the Fourier transform.

get_transformation_matrix_forward(self)

Returns the transformation matrix corresonding to the Fourier transform.

Methods Documentation

backward(self, field)

Returns the inverse Fourier transform of the Field field.

Parameters
fieldField

The field to inverse Fourier transform.

Returns
Field

The inverse Fourier transform of the field.

forward(self, field)

Returns the forward Fourier transform of the Field field.

Parameters
fieldField

The field to Fourier transform.

Returns
Field

The Fourier transform of the field.

get_transformation_matrix_backward(self)

Returns the transformation matrix corresonding to the Fourier transform.

Returns
ndarray

A matrix representing the Fourier transform.

get_transformation_matrix_forward(self)

Returns the transformation matrix corresonding to the Fourier transform.

Returns
ndarray

A matrix representing the Fourier transform.