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

#include <fir_resp.h>

Inheritance diagram for FirFilterResponse:
LinearPhaseFirResponse

Public Member Functions

 FirFilterResponse (FirFilterDesign *filter_design, int num_resp_pts, int db_scale_enabled, int normalize_enabled, char *resp_file_name)
 
virtual void ComputeMagResp (void)
 
void NormalizeResponse (void)
 
double * GetMagResp (void)
 
void DumpMagResp (void)
 
double GetIntervalPeak (int beg_indx, int end_indx)
 

Protected Attributes

FirFilterDesignFilter_Design
 
int Num_Resp_Pts
 
int Db_Scale_Enabled
 
int Normalize_Enabled
 
int Num_Taps
 
double * Mag_Resp
 

Detailed Description

Definition at line 11 of file fir_resp.h.

Constructor & Destructor Documentation

FirFilterResponse::FirFilterResponse(FirFilterDesignfilter_design,
int num_resp_pts,
int db_scale_enabled,
int normalize_enabled,
char * resp_file_name 
)

Definition at line 20 of file fir_resp.cpp.

Member Function Documentation

void FirFilterResponse::ComputeMagResp(void )
virtual

Reimplemented in LinearPhaseFirResponse.

Definition at line 40 of file fir_resp.cpp.

void FirFilterResponse::DumpMagResp(void )

Definition at line 109 of file fir_resp.cpp.

double FirFilterResponse::GetIntervalPeak(int beg_indx,
int end_indx 
)

Definition at line 119 of file fir_resp.cpp.

double * FirFilterResponse::GetMagResp(void )

Definition at line 103 of file fir_resp.cpp.

void FirFilterResponse::NormalizeResponse(void )

Definition at line 73 of file fir_resp.cpp.

Member Data Documentation

int FirFilterResponse::Db_Scale_Enabled
protected

Definition at line 39 of file fir_resp.h.

FirFilterDesign* FirFilterResponse::Filter_Design
protected

Definition at line 37 of file fir_resp.h.

double* FirFilterResponse::Mag_Resp
protected

Definition at line 42 of file fir_resp.h.

int FirFilterResponse::Normalize_Enabled
protected

Definition at line 40 of file fir_resp.h.

int FirFilterResponse::Num_Resp_Pts
protected

Definition at line 38 of file fir_resp.h.

int FirFilterResponse::Num_Taps
protected

Definition at line 41 of file fir_resp.h.


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