Filters¶
-
class
Filters.
BaseFilter
[source]¶ Base class for filters. All filter classes should be derived from it.
-
class
Filters.
FFTLowPass
(cutoff_frequency_Hz, h_sec)[source]¶ Low-pass fiter implemented using the FFT.
-
filter
(input)[source]¶ Removes high frequency components from a signal.
Parameters: input (numpy.array(complex)) – Vector of equi-distant time domain samples q[n]=q(t0+n*h_sec), n=0,1,2,…,N-1, where h_sec is the sampling interval that was provided to __init__(…). Returns: Vector of the same properties as the input that represent a filtered version of the input signal in which frequency components outside the interval [-cutoff_frequency_Hz, cutoff_frequency_Hz], where cutoff_frequency_Hz is the value provided earlier to __init__(…), have been removed. Return type: numpy.array(complex)
-