Spectral Space¤
xpektra.SpectralSpace
¤
Defines the spectral space
Arguments
- shape: The shape of the spectral space.
- lengths: The lengths of the spectral space.
- transform: The transform to be used in the spectral space.
Returns - The spectral space.
space = SpectralSpace(shape=(10,), lengths=(1.0,), transform=FFTTransform(dim=1))
space.get_wavenumber_vector()
get_wavenumber_mesh() -> list[jax.jaxlib._jax.Array]
¤
Creates a list of coordinate arrays for the wavenumbers.
Returns - A list of arrays representing the wavenumber meshgrid.