#include <filter.h>
Inheritance diagram for Filter:
Public Member Functions | |
Filter (Filter *pred=NULL, int _type=0, boolean _zero_phase=FALSE) | |
boolean | read_time_gate () |
read time gate from parameter lists | |
virtual void | show () const |
print out current filter parameters | |
virtual void | plotmtv_filter (FILE *f) const |
output current filter shape in PLOTMTV file | |
virtual void | proc (FILTER *FIL, TRACE *t) |
filtering method | |
virtual void | proc (FILTER *FIL, DATA_SAMPLE *d, int num_samples) |
filtering method | |
virtual boolean | build (FILTER *FIL, TRACE *t) |
FFT-domain filter design. | |
virtual boolean | build (FILTER *F, byte *header, int samples_per_trace, double sample_interval) |
build filter (fill array filter) | |
Public Attributes | |
int | type |
value from the list of band types above | |
boolean | individual_gate |
filter rebuilt for each gate | |
boolean | individual_filter |
filter rebuilt for each trace | |
HEADER_PARAM | time_start |
HEADER_PARAM | time_end |
time gate | |
HEADER_PARAM | f_base |
frequency base | |
HEADER_PARAM | f_scalar |
frequency scalar | |
double | df |
frequency sampling, kHz (if time is in ms) | |
FILTER_FFT | fft |
FFT transforms. | |
boolean | zero_phase |
flag = TRUE if the filter is real | |
int | start |
beginning of the window | |
int | nt |
number of samples in the data and in fft | |
int | start_freq |
number of samples in the data and in fft | |
int | end_freq |
the actual pass band in frequency samples | |
COMPLEX * | filter |
filter coefficients |