Spectral Operations

Operations operating in the spectral domain, such as the Power Spectrum, Spetral Loss and the Potential.

cosmax.spectral_ops Package

Classes

Generator(elements[, size])

Generates initial conditions given a power spectrum

Potential(elements)

Gravitational potential from a 3D density field.

PowerSpectrum(elements, bins[, size])

Power spectrum from a 3D density field.

SpectralLoss(elements, bins[, size])

Compute the MSE in spectral space for each wavenumber

SpectralOperation(elements[, size])

Base class for spectral operations