import dascore
= dascore.get_example_patch()
pa
# 1. Apply bandpass filter along time axis from 1 to 100 Hz
= pa.pass_filter(time=(1, 100))
bandpassed
# 2. Apply lowpass filter along distance axis for wavelengths less than 100m
= pa.pass_filter(distance=(None, 1/100)) lowpassed
pass_filter
Apply a Butterworth pass filter (bandpass, highpass, or lowpass).
Parameters
Parameter | Description |
---|---|
corners | The number of corners for the filter. |
zerophase | If True, apply the filter twice. |
**kwargs | Used to specify the dimension and frequency, wavelength, or equivilent limits. |