MNE-CPP  beta 1.0
Public Types | Public Member Functions | Public Attributes | List of all members
UTILSLIB::CosineFilter Class Reference

Creates a cosine filter response in the frequency domain. More...

#include <cosinefilter.h>

Public Types

enum  TPassType { LPF, HPF, BPF, NOTCH }
 

Public Member Functions

 CosineFilter ()
 
 CosineFilter (int fftLength, float lowpass, float lowpass_width, float highpass, float highpass_width, double sFreq, TPassType type)
 

Public Attributes

RowVectorXcd m_dFFTCoeffA
 
RowVectorXd m_dCoeffA
 

Detailed Description

Creates a cosine filter response in the frequency domain.

Creates a cosine filter response in the frequency domain.

Definition at line 99 of file cosinefilter.h.

Constructor & Destructor Documentation

CosineFilter::CosineFilter ( )

Constructs a CosineFilter object.

Definition at line 58 of file cosinefilter.cpp.

CosineFilter::CosineFilter ( int  fftLength,
float  lowpass,
float  lowpass_width,
float  highpass,
float  highpass_width,
double  sFreq,
TPassType  type 
)

Constructs a CosineFilter object.

Parameters
fftLengthlength of the fft (multiple integer of 2^x)
lowpasslow cutoff frequency in Hz (not normed to sampling freq)
lowpass_widthdetermines the width of the filter slopes (steepness) in Hz (not normed to sampling freq)
highpasshighpass high cutoff frequency in Hz (not normed to sampling freq)
highpass_widthdetermines the width of the filter slopes (steepness) in Hz (not normed to sampling freq)
sFreqsampling frequency
typefilter type (lowpass, highpass, etc.)

Definition at line 66 of file cosinefilter.cpp.

Member Data Documentation

RowVectorXd UTILSLIB::CosineFilter::m_dCoeffA

the time filter coefficient set

Definition at line 126 of file cosinefilter.h.

RowVectorXcd UTILSLIB::CosineFilter::m_dFFTCoeffA

the FFT-transformed forward filter coefficient set, required for frequency-domain filtering, zero-padded to m_iFFTlength.

Definition at line 125 of file cosinefilter.h.


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