Diana Software
Public Member Functions | Private Member Functions | Private Attributes | List of all members
QFir Class Reference

QFir FIR low pass filter (Ported from Calder) More...

Inheritance diagram for QFir:

Public Member Functions

 QFir ()
 
 QFir (const QCFirData &conf)
 
void Clear ()
 
const QCFirDataGetConfiguration () const
 
QError Filter (const Diana::QVector &input, Diana::QVector &output) const
 
size_t GetFilterReduction () const
 
size_t GetFilteredSize () const
 
double GetRiseTime () const
 
double GetDelay () const
 

Private Member Functions

void KayserBesselAlgorithm ()
 
double Ino (double x)
 
 QObjectDef (QFir, 1)
 

Private Attributes

QCFirData fConfiguration
 
std::vector< double > fCoefficients
 
size_t fFilteredSize
 
size_t fFilterReduction
 
double fRiseTime
 
double fDelay
 

Detailed Description

QFir FIR low pass filter (Ported from Calder)

Author
Marco Vignati

Definition at line 17 of file QFir.hh.

Constructor & Destructor Documentation

◆ QFir() [1/2]

QFir::QFir ( )
inline

Definition at line 19 of file QFir.hh.

References Clear().

◆ QFir() [2/2]

QFir::QFir ( const QCFirData conf)

Member Function Documentation

◆ Clear()

void QFir::Clear ( )

◆ Filter()

QError QFir::Filter ( const Diana::QVector &  input,
Diana::QVector &  output 
) const

◆ GetConfiguration()

const QCFirData& QFir::GetConfiguration ( ) const
inline

Definition at line 23 of file QFir.hh.

References fConfiguration.

◆ GetDelay()

double QFir::GetDelay ( ) const
inline

Definition at line 28 of file QFir.hh.

References fDelay.

◆ GetFilteredSize()

size_t QFir::GetFilteredSize ( ) const
inline

Definition at line 26 of file QFir.hh.

References fFilteredSize.

◆ GetFilterReduction()

size_t QFir::GetFilterReduction ( ) const
inline

Definition at line 25 of file QFir.hh.

References fFilterReduction.

Referenced by QOptimumFilter::BuildFilter(), and MDownSampling::Do().

◆ GetRiseTime()

double QFir::GetRiseTime ( ) const
inline

Definition at line 27 of file QFir.hh.

References fRiseTime.

◆ Ino()

double QFir::Ino ( double  x)
private

◆ KayserBesselAlgorithm()

void QFir::KayserBesselAlgorithm ( )
private

Definition at line 86 of file QFir.cc.

References QCFirData::fAttDB, fCoefficients, fConfiguration, QCFirData::fCutoff, fFilterReduction, pow(), and sin().

Referenced by QFir().

◆ QObjectDef()

QFir::QObjectDef ( QFir  ,
 
)
private

Member Data Documentation

◆ fCoefficients

std::vector<double> QFir::fCoefficients
private

Definition at line 36 of file QFir.hh.

Referenced by Clear(), Filter(), and KayserBesselAlgorithm().

◆ fConfiguration

QCFirData QFir::fConfiguration
private

Definition at line 35 of file QFir.hh.

Referenced by Clear(), GetConfiguration(), KayserBesselAlgorithm(), and QFir().

◆ fDelay

double QFir::fDelay
private

Definition at line 40 of file QFir.hh.

Referenced by Clear(), GetDelay(), and QFir().

◆ fFilteredSize

size_t QFir::fFilteredSize
private

Definition at line 37 of file QFir.hh.

Referenced by Clear(), and GetFilteredSize().

◆ fFilterReduction

size_t QFir::fFilterReduction
private

Definition at line 38 of file QFir.hh.

Referenced by Clear(), Filter(), GetFilterReduction(), KayserBesselAlgorithm(), and QFir().

◆ fRiseTime

double QFir::fRiseTime
private

Definition at line 39 of file QFir.hh.

Referenced by Clear(), GetRiseTime(), and QFir().


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