import dascore as dc
patch = dc.get_example_patch()
# Transform along time dimension
ft_patch = patch.rfft(dim='time')
assert 'ft_time' in ft_patch.dimsrfft
rfft(
patch: Patch ,
dim = time,
)-> ‘PatchType’
Perform a real fourier transform along the specified dimension.
Examples
Note
- Use dft instead.
- This function is not scaled as detailed in the dascore documentation.