finesse.utilities.homs.HG_to_LG¶
- finesse.utilities.homs.HG_to_LG(n, m)[source]¶
- Returns the coefficients and mode indices of the Laguerre-Gaussian modes required to create a particular Hermote-Gaussian mode. - Parameters
- n, m: integer
- Indices of the HG mode to re-create. 
 
- Returns
- coeffcients: array_like
- Complex coefficients for each order=n+m LG mode required to re-create HG_n,m. 
- ps, ls: array_like
- LG mode indices corresponding to coefficients.