MAOS
Multithreaded Adaptive Optics Simulator
Loading...
Searching...
No Matches
bessel_mode.h File Reference

Functions

dmat * bessel_modes (loc_t *loc, double D, double k_cutoff, int type)

Function Documentation

◆ bessel_modes()

dmat * bessel_modes ( loc_t * loc,
double D,
double k_cutoff,
int type )

Computes the Disk Harmonic Modes, aka Fourier Bessel modes, for a given set of coordinates and a cutoff frequency. The modes are ordered by their spatial frequency (alpha) and returned in a column-major format Inputs:

  • loc: loc_t structure containing the coordinates of the points where modes are evaluated
  • k_cutoff: maximum spatial frequency (alpha) to include in the output modes
  • type: 0 for Dirichlet (Jm=0 at boundary), 1 for Neumann (Jm'=0 at boundary) Outputs: OPD