Wave analysis for (space) plasmas.
using Pkg; Pkg.add("PlasmaWaves")
using PlasmaWaves
# X is an N×3 array of field-aligned magnetic fluctuations
res = wavpol(X, 128.0; nfft = 256)
res.degpol # degree of polarization across time-frequency bins
res.waveangle # wave normal angle estimatesPass method = Samson() (principal eigenvector) or method = Santolik() (SVD, with planarity) for other estimators.
- Wave polarization analysis with degree of polarization, wave normal angle, ellipticity, and planarity metrics
- Wave propagation analysis using SVD of magnetic field
See Wave polarization cross-validation with PySPEDAS for comparison and benchmarking against PySPEDAS implementation.
- PlasmaBO.jl for wave dispersion relation analysis.