disk_harmonic_energy¶
-
hcipy.mode_basis.
disk_harmonic_energy
(n, m, bc='dirichlet')¶ Get the energy of a disk harmonic function.
This allows for functions to sort a disk harmonic mode basis on energy.
- Parameters
- nint
Radial order
- mint
Azimuthal order
- bcstring
The boundary conditions to use. This can be either ‘dirichlet’, or ‘neumann’ for a Dirichlet or Neumann boundary condition respectively.
- Returns
- scalar
The energy corresponding to the mode.
- Raises
- ValueError
If the boundary condition is not recognized.