import dascore as dc
= dc.get_example_patch()
patch = patch.iresample(time=50) new
iresample
Resample a patch along a single dimension using Fourier Method.
Unlike resample this function requires the number of samples for the selected dimension.
Parameters
Parameter | Description |
---|---|
patch | The patch to resample. |
window | The Fourier-domain window that tapers the Fourier spectrum. See scipy.signal.resample for details. |
**kwargs | keyword arguments to specify dimension. |
Note
Simply uses scipy.signal.resample.