fftarray.Array.values#
- Array.values(space: Literal['pos', 'freq'] | Iterable[Literal['pos', 'freq']], /, *, xp: Any | None = None, dtype: Any | None = None) Any [source]#
The raw values with all lazy fft factors applied.
Using
xp
to make a conversion between array libraries relies on non-standardized behavior. Therefore this function only supports conversions between libraries where the interaction is specifically allowed. It currently supports NumPy, JAX, PyTorch andarray-api-strict
and is not optimal for performance because it always goes the safe route via NumPy.- Parameters:
space (Union[Space, Iterable[Space]]) – The space in which the values should be returned. Can be specified per dimension.
xp (Any | None) – The array API namespace to use for the returned values. If it is None, the array namespace from self is used.
dtype (Any | None) – The dtype to use for the returned values. If it is None, the dtype of self is used.
self (Array)
- Returns:
The Array’s values.
- Return type:
Any