fftarray.Array.into_space

fftarray.Array.into_space#

Array.into_space(space: Literal['pos', 'freq'] | Iterable[Literal['pos', 'freq']], /) Array[source]#

Transform the space(s) of the Array’s values.

Parameters:

space (Union[Space, Iterable[Space]]) – The new space(s).

Returns:

A new Array whose values are in the new space.

Return type:

Array

Raises:

ValueError – If the Array does not have a float dtype.