Functions for manipulating Higher Order Modes.


insert_modes(modes, new_modes)

Inserts the mode indices in new_modes into the modes array at the correct (sorted) position(s).

lens_diopt_to_f(f, d)

Convert a dioptre shift, at a lens, to a focal length.

make_modes([select, maxtem])

Construct a 2D numpy.ndarray of HOM indices.

remove_modes(modes, remove)

surface_diopt_to_roc(roc, d)

Convert a dioptre shift, at a surface, to a radius of curvature.