MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Types | Public Member Functions | Public Attributes | List of all members
RTPROCESSINGLIB::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

Eigen::RowVectorXcd m_vecFftCoeff
 
Eigen::RowVectorXd m_vecCoeff
 
int m_iFilterOrder
 

Detailed Description

Creates a cosine filter response in the frequency domain.

Creates a cosine filter response in the frequency domain.

Definition at line 68 of file cosinefilter.h.

Constructor & Destructor Documentation

◆ CosineFilter() [1/2]

CosineFilter::CosineFilter ( )

Constructs a CosineFilter object.

Definition at line 66 of file cosinefilter.cpp.

◆ CosineFilter() [2/2]

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

Constructs a CosineFilter object.

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

Definition at line 73 of file cosinefilter.cpp.

Member Data Documentation

◆ m_vecCoeff

Eigen::RowVectorXd RTPROCESSINGLIB::CosineFilter::m_vecCoeff

the time filter coefficient set

Definition at line 101 of file cosinefilter.h.

◆ m_vecFftCoeff

Eigen::RowVectorXcd RTPROCESSINGLIB::CosineFilter::m_vecFftCoeff

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

Definition at line 100 of file cosinefilter.h.


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