Wave analysis for (space) plasmas, built in Julia.
Installation: at the Julia REPL, run using Pkg; Pkg.add("PlasmaWaves")
- Wave polarization analysis with degree of polarization, wave normal angle, helicity, ellipticity, and planarity metrics
- Wave propagation analysis
- SVD of the magnetic spectral matrix
- Electromagnetic SVD
- Wave dispersion relation analysis
using PlasmaWaves
# X is an N×3 array of field-aligned magnetic fluctuations
res = wavpol(X, fs = 128.0; nfft = 256)
res.degpol # degree of polarization across time-frequency bins
res.waveangle # wave normal angle estimatesFor SVD-derived planarity metrics, call wavpol_svd or twavpol_svd.
PySPEDAS) and the API may undergo changes in future releases. Please test thoroughly before using in scientific work.