csl::FilterSpecification Class Reference

forward declaration More...

#include <FIR.h>

List of all members.

Public Member Functions

 FilterSpecification (unsigned numTaps=0, unsigned numBands=0, double *freqs=NULL, double *resps=NULL, double *weights=NULL)
 ~FilterSpecification ()
void setFrequencies (double *frequencies)
void setResponses (double *responses)
void setWeights (double *weights)
void setNumTaps (unsigned numTaps)
void planFilter ()

Public Attributes

double * mTapData
 the FIR tap weights (created by the planFilter method)

Protected Attributes

unsigned mNumTaps
 number of taps desired
unsigned mNumBands
 length of specification
double * mFrequencies
 band edge frequencies (2 * mNumBands)
double * mResponses
 band responses (mNumBands)
double * mWeights
 band error weights (mNumBands)

Friends

class FIR
 Allow the FIR to access private members of this class.


Detailed Description

forward declaration

FilterSpecification class for designing multi-band-pass FIR filter impulse responses


Constructor & Destructor Documentation

FilterSpecification::FilterSpecification ( unsigned  numTaps = 0,
unsigned  numBands = 0,
double *  freqs = NULL,
double *  resps = NULL,
double *  weights = NULL 
)

FilterSpecification::~FilterSpecification (  ) 


Member Function Documentation

void FilterSpecification::setFrequencies ( double *  frequencies  ) 

References mFrequencies, and mNumBands.

Referenced by FilterSpecification().

void FilterSpecification::setResponses ( double *  responses  ) 

References mNumBands, and mResponses.

Referenced by FilterSpecification().

void FilterSpecification::setWeights ( double *  weights  ) 

References mNumBands, and mWeights.

Referenced by FilterSpecification().

void FilterSpecification::setNumTaps ( unsigned  numTaps  ) 

void FilterSpecification::planFilter (  ) 


Friends And Related Function Documentation

friend class FIR [friend]

Allow the FIR to access private members of this class.


Member Data Documentation

the FIR tap weights (created by the planFilter method)

Referenced by csl::FIR::FIR(), planFilter(), setNumTaps(), csl::FIR::setTaps(), and ~FilterSpecification().

unsigned csl::FilterSpecification::mNumTaps [protected]

number of taps desired

Referenced by planFilter(), csl::FIR::resetDLine(), and setNumTaps().

length of specification

Referenced by planFilter(), setFrequencies(), setResponses(), and setWeights().

band edge frequencies (2 * mNumBands)

Referenced by planFilter(), setFrequencies(), and ~FilterSpecification().

band responses (mNumBands)

Referenced by planFilter(), setResponses(), and ~FilterSpecification().

band error weights (mNumBands)

Referenced by planFilter(), setWeights(), and ~FilterSpecification().


The documentation for this class was generated from the following files:

Generated on Thu Sep 17 23:14:17 2009 for CSL by  doxygen 1.5.8