index_to_hermite

hcipy.mode_basis.index_to_hermite(i)

Converts a one-dimensional mode index to the two-dimensional mode index.

The one-dimensional mode index is converted to a two-dimensional index. The two-dimensional index determines the order in the x and y directions.

Parameters:
iint

The one-dimensional index.

Returns:
nint

The x order.

mint

The y order.