Resample a receiver array from one time axis to another.
Uses a fast band-limited resampling algorithm described in
https://ccrma.stanford.edu/~jos/resample/ and influenced via the
open-source implementations listed therein.
Default values were gathered from the inspection of some common use cases.
Note that the filter width is quite a bit smaller than that used by default
in resampy (num_zeros = 512). This looks to allow for a significant speedup
without a significant reduction in quality for our use cases. Nevertheless,
it is always good to check these parameters when working with a new dataset
to ensure that they remain optimal.
The number of zero-crossings that are considered in the sinc filter.
Optional
precision
Type:
int
Default value:
9
Description:
The number of digits of precision for the linear window interpolation. Precision here is related to the relative difference input / output sampling rates.
Optional
window
Type:
typing.Callable[[int], np.ndarray]
Default value:
numpy.blackman
Description:
The type of window used to truncate the sinc function.
We use cookies to analyze our traffic, but won't track you until explicit consent is given. Using our contact form will create relevant cookies and transmit data to third party services to keep track of your request. Read more about how we use personal information in our Privacy Policy.