import dascore as dc
= dc.get_example_patch()
patch
# Transform along time dimension
= patch.rfft(dim='time')
ft_patch assert 'ft_time' in ft_patch.dims
rfft
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.