Spectral Entropy
📐 Definition
Section titled “📐 Definition”For spectral energy weights normalized from ,
Domain and Codomain
Section titled “Domain and Codomain”Requires nonnegative energy spectrum with finite sum; forms a probability distribution. Entropy satisfies for discrete modes (or extends to integrals in the continuous case).
⚙️ Key Properties
Section titled “⚙️ Key Properties”Invariant to global scaling of . Minimal entropy (zero) occurs when energy is concentrated in one mode; maximal entropy when energy is uniform over modes.
After ideal low-pass filtering, entropy typically decreases as energy concentrates at low . For white spectra with equal modes, .
🎯 Special Cases and Limits
Section titled “🎯 Special Cases and Limits”- Single-mode spectrum: .
- Uniform energy across modes: .
🔗 Related Functions
Section titled “🔗 Related Functions”Spectral bandwidth measures dispersion of energy in -space; spectral filtering and phase modulation alter and thus entropy.
Usage in Oakfield
Section titled “Usage in Oakfield”Oakfield computes spectral entropy as a built-in diagnostic:
SimFieldStats.spectral_entropyis computed by taking an FFT of the (flattened) field, forming normalized power , then evaluating with alog(n)normalization.- Used to detect mode concentration (low entropy) vs broadband/noisy behavior (high entropy), especially when using spectral operators or filtering.
Historical Foundations
Section titled “Historical Foundations”📜 Shannon Entropy
Section titled “📜 Shannon Entropy”Spectral entropy applies Shannon’s entropy to normalized spectral energy, treating the spectrum as a probability distribution over modes.
🌍 Modern Perspective
Section titled “🌍 Modern Perspective”It is a common scalar diagnostic for concentration vs. spread in modal representations, especially in turbulence and wave simulations.
📚 References
Section titled “📚 References”- Cover & Thomas, Elements of Information Theory
- Bracewell, The Fourier Transform and Its Applications