CEBL  2.1
Data Structures | Typedefs | Functions
PassBandFunctions.hpp File Reference
#include <fftw3.h>
#include "cppR.hpp"

Go to the source code of this file.

Data Structures

struct  FilterState
struct  FilterResult

Typedefs

typedef ublas::matrix< double > Matrix

Functions

std::vector< int > localMax (ublas::matrix< double >)
ublas::matrix< double > convolve (ublas::matrix< double > x, ublas::matrix< double > y)
Matrix chebbp2 (int N, int L, double wp, double ws1, double ws2)
Matrix makePassband (int N, int L, int Fs, double fstop1, double fpass, double fstop2)
FilterResult filter (Matrix B, Matrix x, FilterState state)

Typedef Documentation

typedef ublas::matrix<double> Matrix

Definition at line 25 of file PassBandFunctions.hpp.


Function Documentation

Matrix chebbp2 ( int  N,
int  L,
double  wp,
double  ws1,
double  ws2 
)
ublas::matrix<double> convolve ( ublas::matrix< double >  x,
ublas::matrix< double >  y 
)

Definition at line 384 of file PassBandFunctions.cpp.

References cppR::compProd(), cppR::Conj(), cppR::fft(), and cppR::Re().

Referenced by chebbp2().

FilterResult filter ( Matrix  B,
Matrix  x,
FilterState  state 
)
std::vector<int> localMax ( ublas::matrix< double >  )

Definition at line 339 of file PassBandFunctions.cpp.

References cppR::t().

Referenced by chebbp2().

Matrix makePassband ( int  N,
int  L,
int  Fs,
double  fstop1,
double  fpass,
double  fstop2 
)

Definition at line 368 of file PassBandFunctions.cpp.

References chebbp2(), and pi.

Referenced by main(), and CEBL::PassBand::train().