Discrete angular sampling and Nyquist structure#
PETAL2D samples
and computes a discrete Fourier transform.
Representable FFT indices#
For odd \(N_\theta\), the canonical integer indices are
For even \(N_\theta\), NumPy’s FFT convention contains
The Nyquist harmonic is represented by the single index \(-N_\theta/2\). The index \(+N_\theta/2\) gives the same sampled sequence and is not a second independent bin.
Aliasing#
For sampled angles,
for any integer \(k\). Thus the data determine \(m\) only modulo \(N_\theta\). PETAL2D’s m_all reports the canonical FFT representative of each discrete class.
Real fields#
For real angular samples the DFT satisfies discrete conjugate symmetry. Away from \(m=0\) and the even-grid Nyquist singleton, bins occur in \((+m,-m)\) pairs. PETAL2D’s adaptive selector preserves those pairs automatically.
Choosing Ntheta#
The strict Nyquist condition is only the beginning. In practical sampled-data problems, interpolation and finite Cartesian resolution can generate weak higher harmonics. Use enough angular samples that the physically relevant range is comfortably below Nyquist, then verify convergence by increasing Ntheta.