disk_harmonic¶
-
hcipy.mode_basis.
disk_harmonic
(n, m, D=1, bc='dirichlet', grid=None)¶ Create a disk harmonic.
- Parameters
- nint
Radial order
- mint
Azimuthal order
- Dscalar
The diameter of the pupil.
- bcstring
The boundary conditions to use. This can be either ‘dirichlet’, or ‘neumann’ for a Dirichlet or Neumann boundary condition respectively.
- gridGrid
The grid on which to evaluate the function.
- Returns
- Field
The disk harmonic function evaluated on grid.
- Raises
- ValueError
If the boundary condition is not recognized.