make_sine_basis

hcipy.mode_basis.make_sine_basis(grid, fourier_grid, sort_by_energy=True)

Make a sine basis.

Repeated frequencies will not be repeated in this mode basis. This means that opposite points in the fourier_grid will be silently ignored.

Parameters:
gridGrid

The Grid on which to calculate the modes.

fourier_gridGrid

The grid defining all frequencies.

sort_by_energybool

Whether to sort by increasing energy or not.

Returns:
ModeBasis

The mode basis containing all sine modes.