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

#include <iir_resp.h>

Public Member Functions

 IirFilterResponse (IirFilterDesign *filter_design, int num_resp_pts, int db_scale_enabled, int normalize_enabled, char *resp_file_name)
 
 IirFilterResponse (IirFilterDesign *filter_design, std::istream &uin, std::ostream &uout)
 
virtual void ComputeResponse (void)
 
void NormalizeResponse (void)
 
double * GetMagResp (void)
 
void DumpMagResp (void)
 
double GetIntervalPeak (int beg_indx, int end_indx)
 

Protected Attributes

IirFilterDesignFilter_Design
 
int Num_Resp_Pts
 
int Db_Scale_Enabled
 
int Normalize_Enabled
 
std::ofstream * Response_File
 
int Num_Numer_Coeffs
 
int Num_Denom_Coeffs
 
complexFreq_Resp
 
double * Mag_Resp
 
double * Phase_Resp
 

Detailed Description

Definition at line 11 of file iir_resp.h.

Constructor & Destructor Documentation

IirFilterResponse::IirFilterResponse(IirFilterDesignfilter_design,
int num_resp_pts,
int db_scale_enabled,
int normalize_enabled,
char * resp_file_name 
)

Definition at line 27 of file iir_resp.cpp.

IirFilterResponse::IirFilterResponse(IirFilterDesignfilter_design,
std::istream & uin,
std::ostream & uout 
)

Member Function Documentation

void IirFilterResponse::ComputeResponse(void )
virtual

Definition at line 104 of file iir_resp.cpp.

void IirFilterResponse::DumpMagResp(void )

Definition at line 220 of file iir_resp.cpp.

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

Definition at line 243 of file iir_resp.cpp.

double * IirFilterResponse::GetMagResp(void )

Definition at line 209 of file iir_resp.cpp.

void IirFilterResponse::NormalizeResponse(void )

Definition at line 175 of file iir_resp.cpp.

Member Data Documentation

int IirFilterResponse::Db_Scale_Enabled
protected

Definition at line 62 of file iir_resp.h.

IirFilterDesign* IirFilterResponse::Filter_Design
protected

Definition at line 60 of file iir_resp.h.

complex* IirFilterResponse::Freq_Resp
protected

Definition at line 67 of file iir_resp.h.

double* IirFilterResponse::Mag_Resp
protected

Definition at line 68 of file iir_resp.h.

int IirFilterResponse::Normalize_Enabled
protected

Definition at line 63 of file iir_resp.h.

int IirFilterResponse::Num_Denom_Coeffs
protected

Definition at line 66 of file iir_resp.h.

int IirFilterResponse::Num_Numer_Coeffs
protected

Definition at line 65 of file iir_resp.h.

int IirFilterResponse::Num_Resp_Pts
protected

Definition at line 61 of file iir_resp.h.

double* IirFilterResponse::Phase_Resp
protected

Definition at line 69 of file iir_resp.h.

std::ofstream* IirFilterResponse::Response_File
protected

Definition at line 64 of file iir_resp.h.


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