Main Page | Class Hierarchy | Class List | File List | Class Members

Filter Struct Reference

#include <filter.h>

Inheritance diagram for Filter:

Filter_Bslope Filter_Bworth Filter_Polygon Filter_Response Filter_Wavelet List of all members.

Detailed Description

One filter used in module 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


The documentation for this struct was generated from the following files:
Generated on Wed Apr 1 21:42:25 2020 for Module FILTER by  doxygen 1.3.9.1