finesse.cymath.homs

Fast computations of Higher-Order Mode related properties.

This module provides functions for computing properties of HOMs, such as the spatial distribution \(u_{nm}(x,y,z;q_x,q_y)\) of Hermite-Gauss modes.

Note

These are low-level functions intended for use, by developers, in Cython extensions. To calculate HG mode profiles, for example, users should instead use the Python class HGMode defined in finesse.gaussian.

Classes

HGModeWorkspace(int n, int m, ...)

Fast computation of Hermite-Gauss spatial distributions.

HGModes(q, modes, ...)

A class that calculates a selection of Hermite-Gaussian modes.

Functions

field_index(int n, int m, const int[, )

in_mask(int n, int m, const int[, )