Function crpropa::gridPowerSpectrum

Function Documentation

std::vector<std::pair<int, float>> gridPowerSpectrum(ref_ptr<Grid3f> grid)

Calculate the omnidirectional power spectrum E(k) for a given turbulent field Returns a vector of pairs (k_i, E(k_i))