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

FILTER_TRANGE Struct Reference

#include <filter.h>

List of all members.


Detailed Description

Filtering time range.


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
Filteradd_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

Filterfilter
 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


Constructor & Destructor Documentation

FILTER_TRANGE::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.

Frequencies should be given in Hz (when the times are measured in ms)

FILTER_TRANGE::FILTER_TRANGE double  f_locut,
double  f_lopass,
boolean  high = TRUE,
FILTER_TRANGE pred = NULL
 

Generate a constant high-pass or high-cut filter.

Frequencies should be given in Hz (when the times are measured in ms)

FILTER_TRANGE::FILTER_TRANGE const ARRAY< POINT > &  shape,
FILTER_TRANGE pred = NULL
 

Generate a shaping filter.

Frequencies should be given as POINT::x, and filter amplitudes - as POINT:y


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