desc.basis.FourierZernikeBasis.get_idx
- FourierZernikeBasis.get_idx(L=0, M=0, N=0, error=True)Source
Get the index of the
'modes'
array corresponding to given mode numbers.- Parameters:
L (int) – Radial mode number.
M (int) – Poloidal mode number.
N (int) – Toroidal mode number.
error (bool) – whether to raise exception if mode is not in basis, or return empty array
- Returns:
idx (ndarray of int) – Index of given mode numbers.