#include <filter.h>
Public Member Functions | |
FILTER_TRANGE (FILTER_TRANGE *pred=NULL) | |
FILTER_TRANGE (double f_locut, double f_lopass, double f_hipass, double f_hicut, boolean bandpass=TRUE, FILTER_TRANGE *pred=NULL) | |
Generate a constant band-pass or band-cut filter. | |
FILTER_TRANGE (double f_locut, double f_lopass, boolean high=TRUE, FILTER_TRANGE *pred=NULL) | |
Generate a constant high-pass or high-cut filter. | |
FILTER_TRANGE (const ARRAY< POINT > &shape, FILTER_TRANGE *pred=NULL) | |
Generate a shaping filter. | |
FILTER_TRANGE (Filter *f) | |
filter using custom Filter | |
Filter * | add_filter (Filter *f) |
adds a filter | |
void | read_ramp () |
void | read_band (int filter_type) |
void | read_preset_band (Filter_Shape *s, int n, float *amps) |
void | read_sp_balance (int filter_type) |
void | read_polygon (int filter_type, int rep) |
void | read_predefined (int filter_type) |
void | read_butterworth (int filter_type) |
void | read_wavelet (int filter_type) |
void | read_bslope (int filter_type) |
void | read_response (int filter_type) |
void | proc (FILTER *FIL, TRACE *t, int num_filter) |
'num_filter' is the number of the filter to be applied. If num_filter < 0, applying all filters | |
void | proc (FILTER *FIL, DATA_SAMPLE *d, int num_samples) |
Apply filtering to an arbitrary array. | |
void | show () const |
print out current filter parameters | |
void | plotmtv_filter (FILE *f) const |
make PLOTMTV output of the filterin file 'f' | |
Public Attributes | |
Filter * | filter |
beginning of the list of filters | |
HEADER_PARAM | ramp_start |
HEADER_PARAM | ramp_end |
Private Member Functions | |
boolean | remove_filter () |
remove (deallocate) the last filter |
|
Generate a constant band-pass or band-cut filter. Frequencies should be given in Hz (when the times are measured in ms) |
|
Generate a constant high-pass or high-cut filter. Frequencies should be given in Hz (when the times are measured in ms) |
|
Generate a shaping filter. Frequencies should be given as POINT::x, and filter amplitudes - as POINT:y |