RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
FreqSampFilterResponse Class Reference

#include <fs_resp.h>

Public Member Functions

 FreqSampFilterResponse ()
 
 FreqSampFilterResponse (FreqSampFilterDesign *filter_design, int num_resp_pts, int db_scale)
 
 ~FreqSampFilterResponse ()
 
double GetStopbandPeak (void)
 
void ComputeMagResp (FreqSampFilterDesign *filter_design, int db_scale)
 
double * GetMagResp (void)
 
void DumpMagResp (std::ofstream *output_stream)
 
void NormalizeResponse (int db_scale)
 

Private Attributes

int Band_Config
 
int Db_Scale_Enabled
 
int Num_Taps
 
int Fir_Type
 
int N1
 
int N2
 
int N3
 
int N4
 
int Num_Resp_Pts
 
double * Mag_Resp
 

Detailed Description

Definition at line 10 of file fs_resp.h.

Constructor & Destructor Documentation

FreqSampFilterResponse::FreqSampFilterResponse()

Definition at line 11 of file fs_resp.cpp.

FreqSampFilterResponse::FreqSampFilterResponse(FreqSampFilterDesignfilter_design,
int num_resp_pts,
int db_scale 
)

Definition at line 15 of file fs_resp.cpp.

FreqSampFilterResponse::~FreqSampFilterResponse()

Definition at line 31 of file fs_resp.cpp.

Member Function Documentation

void FreqSampFilterResponse::ComputeMagResp(FreqSampFilterDesignfilter_design,
int db_scale 
)

Definition at line 83 of file fs_resp.cpp.

void FreqSampFilterResponse::DumpMagResp(std::ofstream * output_stream)

Definition at line 173 of file fs_resp.cpp.

double * FreqSampFilterResponse::GetMagResp(void )

Definition at line 167 of file fs_resp.cpp.

double FreqSampFilterResponse::GetStopbandPeak(void )

Definition at line 37 of file fs_resp.cpp.

void FreqSampFilterResponse::NormalizeResponse(int db_scale)

Definition at line 137 of file fs_resp.cpp.

Member Data Documentation

int FreqSampFilterResponse::Band_Config
private

Definition at line 39 of file fs_resp.h.

int FreqSampFilterResponse::Db_Scale_Enabled
private

Definition at line 40 of file fs_resp.h.

int FreqSampFilterResponse::Fir_Type
private

Definition at line 42 of file fs_resp.h.

double* FreqSampFilterResponse::Mag_Resp
private

Definition at line 46 of file fs_resp.h.

int FreqSampFilterResponse::N1
private

Definition at line 43 of file fs_resp.h.

int FreqSampFilterResponse::N2
private

Definition at line 43 of file fs_resp.h.

int FreqSampFilterResponse::N3
private

Definition at line 43 of file fs_resp.h.

int FreqSampFilterResponse::N4
private

Definition at line 43 of file fs_resp.h.

int FreqSampFilterResponse::Num_Resp_Pts
private

Definition at line 44 of file fs_resp.h.

int FreqSampFilterResponse::Num_Taps
private

Definition at line 41 of file fs_resp.h.


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