Relacs Numerics Library  0.9.8
Namespaces | Functions
spectrum.h File Reference
#include <cmath>
#include <iostream>
#include <algorithm>
Include dependency graph for spectrum.h:
This graph shows which files directly or indirectly include this file:

Namespaces

 relacs
 

Functions

int nextPowerOfTwo (int n)
 
template<typename RandomAccessIter >
int cFFT (RandomAccessIter first, RandomAccessIter last, int sign)
 
template<typename Container >
int cFFT (Container &c, int sign)
 
template<typename BidirectIterC , typename ForwardIterP >
void cPower (BidirectIterC firstc, BidirectIterC lastc, ForwardIterP firstp, ForwardIterP lastp)
 
template<typename ContainerC , typename ContainerP >
void cPower (ContainerC &c, ContainerP &p)
 
template<typename BidirectIterC , typename ForwardIterM >
void cMagnitude (BidirectIterC firstc, BidirectIterC lastc, ForwardIterM firstm, ForwardIterM lastm)
 
template<typename ContainerC , typename ContainerM >
void cMagnitude (ContainerC &c, ContainerM &m)
 
template<typename BidirectIterC , typename ForwardIterP >
void cPhase (BidirectIterC firstc, BidirectIterC lastc, ForwardIterP firstp, ForwardIterP lastp)
 
template<typename ContainerC , typename ContainerP >
void cPhase (ContainerC &c, ContainerP &p)
 
template<typename RandomAccessIter >
int rFFT (RandomAccessIter first, RandomAccessIter last)
 
template<typename Container >
int rFFT (Container &c)
 
template<typename RandomAccessIter >
int hcFFT (RandomAccessIter first, RandomAccessIter last)
 
template<typename Container >
int hcFFT (Container &c)
 
template<typename BidirectIterHC , typename ForwardIterP >
void hcPower (BidirectIterHC firsthc, BidirectIterHC lasthc, ForwardIterP firstp, ForwardIterP lastp)
 
template<typename ContainerHC , typename ContainerP >
void hcPower (const ContainerHC &hc, ContainerP &p)
 
template<typename BidirectIterHC , typename ForwardIterM >
void hcMagnitude (BidirectIterHC firsthc, BidirectIterHC lasthc, ForwardIterM firstm, ForwardIterM lastm)
 
template<typename ContainerHC , typename ContainerM >
void hcMagnitude (const ContainerHC &hc, ContainerM &m)
 
template<typename BidirectIterHC , typename ForwardIterP >
void hcPhase (BidirectIterHC firsthc, BidirectIterHC lasthc, ForwardIterP firstp, ForwardIterP lastp)
 
template<typename ContainerHC , typename ContainerP >
void hcPhase (const ContainerHC &hc, ContainerP &p)
 
template<typename BidirectIterHC , typename ForwardIterR >
void hcReal (BidirectIterHC firsthc, BidirectIterHC lasthc, ForwardIterR firstr, ForwardIterR lastr)
 
template<typename ContainerHC , typename ContainerR >
void hcReal (const ContainerHC &hc, ContainerR &r)
 
template<typename BidirectIterHC , typename ForwardIterI >
void hcImaginary (BidirectIterHC firsthc, BidirectIterHC lasthc, ForwardIterI firsti, ForwardIterI lasti)
 
template<typename ContainerHC , typename ContainerI >
void hcImaginary (const ContainerHC &hc, ContainerI &i)
 
double bartlett (int j, int n)
 
double blackman (int j, int n)
 
double blackmanHarris (int j, int n)
 
double hamming (int j, int n)
 
double hanning (int j, int n)
 
double parzen (int j, int n)
 
double square (int j, int n)
 
double welch (int j, int n)
 
template<typename ForwardIterX , typename ForwardIterP >
int rPSD (ForwardIterX firstx, ForwardIterX lastx, ForwardIterP firstp, ForwardIterP lastp, bool overlap=true, double(*window)(int j, int n)=bartlett)
 
template<typename ContainerX , typename ContainerP >
int rPSD (const ContainerX &x, ContainerP &p, bool overlap=true, double(*window)(int j, int n)=bartlett)
 
template<typename ForwardIterX , typename ForwardIterY , typename BidirectIterH >
int transfer (ForwardIterX firstx, ForwardIterX lastx, ForwardIterY firsty, ForwardIterY lasty, BidirectIterH firsth, BidirectIterH lasth, bool overlap=true, double(*window)(int j, int n)=bartlett)
 
template<typename ContainerX , typename ContainerY , typename ContainerH >
int transfer (const ContainerX &x, const ContainerY &y, ContainerH &h, bool overlap=true, double(*window)(int j, int n)=bartlett)
 
template<typename ForwardIterX , typename ForwardIterY , typename BidirectIterH , typename BidirectIterC >
int transfer (ForwardIterX firstx, ForwardIterX lastx, ForwardIterY firsty, ForwardIterY lasty, BidirectIterH firsth, BidirectIterH lasth, BidirectIterC firstc, BidirectIterC lastc, bool overlap=true, double(*window)(int j, int n)=bartlett)
 
template<typename ContainerX , typename ContainerY , typename ContainerH , typename ContainerC >
int transfer (const ContainerX &x, const ContainerY &y, ContainerH &h, ContainerC &c, bool overlap=true, double(*window)(int j, int n)=bartlett)
 
template<typename ForwardIterX , typename ForwardIterY , typename ForwardIterG >
int gain (ForwardIterX firstx, ForwardIterX lastx, ForwardIterY firsty, ForwardIterY lasty, ForwardIterG firstg, ForwardIterG lastg, bool overlap=true, double(*window)(int j, int n)=bartlett)
 
template<typename ContainerX , typename ContainerY , typename ContainerG >
int gain (const ContainerX &x, const ContainerY &y, ContainerG &g, bool overlap=true, double(*window)(int j, int n)=bartlett)
 
template<typename ForwardIterX , typename ForwardIterY , typename ForwardIterC >
int coherence (ForwardIterX firstx, ForwardIterX lastx, ForwardIterY firsty, ForwardIterY lasty, ForwardIterC firstc, ForwardIterC lastc, bool overlap=true, double(*window)(int j, int n)=bartlett)
 
template<typename ContainerX , typename ContainerY , typename ContainerC >
int coherence (const ContainerX &x, const ContainerY &y, ContainerC &c, bool overlap=true, double(*window)(int j, int n)=bartlett)
 
template<typename ForwardIterC >
double coherenceInfo (ForwardIterC firstc, ForwardIterC lastc, double deltaf)
 
template<typename ContainerC >
double coherenceInfo (ContainerC &c, double deltaf)
 
template<typename ForwardIterX , typename ForwardIterY , typename ForwardIterC >
int rCSD (ForwardIterX firstx, ForwardIterX lastx, ForwardIterY firsty, ForwardIterY lasty, ForwardIterC firstc, ForwardIterC lastc, bool overlap=true, double(*window)(int j, int n)=bartlett)
 
template<typename ContainerX , typename ContainerY , typename ContainerC >
int rCSD (const ContainerX &x, const ContainerY &y, ContainerC &c, bool overlap=true, double(*window)(int j, int n)=bartlett)
 
template<typename ForwardIterX , typename ForwardIterY , typename ForwardIterG , typename ForwardIterC , typename ForwardIterYP >
int spectra (ForwardIterX firstx, ForwardIterX lastx, ForwardIterY firsty, ForwardIterY lasty, ForwardIterG firstg, ForwardIterG lastg, ForwardIterC firstc, ForwardIterC lastc, ForwardIterYP firstyp, ForwardIterYP lastyp, bool overlap=true, double(*window)(int j, int n)=bartlett)
 
template<typename ContainerX , typename ContainerY , typename ContainerG , typename ContainerC , typename ContainerYP >
int spectra (const ContainerX &x, const ContainerY &y, ContainerG &g, ContainerC &c, ContainerYP &yp, bool overlap=true, double(*window)(int j, int n)=bartlett)
 
template<typename ForwardIterX , typename ForwardIterY , typename ForwardIterG , typename ForwardIterC , typename ForwardIterCP , typename ForwardIterXP , typename ForwardIterYP >
int spectra (ForwardIterX firstx, ForwardIterX lastx, ForwardIterY firsty, ForwardIterY lasty, ForwardIterG firstg, ForwardIterG lastg, ForwardIterC firstc, ForwardIterC lastc, ForwardIterCP firstcp, ForwardIterCP lastcp, ForwardIterXP firstxp, ForwardIterXP lastxp, ForwardIterYP firstyp, ForwardIterYP lastyp, bool overlap=true, double(*window)(int j, int n)=bartlett)
 
template<typename ContainerX , typename ContainerY , typename ContainerG , typename ContainerC , typename ContainerCP , typename ContainerXP , typename ContainerYP >
int spectra (const ContainerX &x, const ContainerY &y, ContainerG &g, ContainerC &c, ContainerCP &cp, ContainerXP &xp, ContainerYP &yp, bool overlap=true, double(*window)(int j, int n)=bartlett)
 
template<typename ForwardIterX , typename ForwardIterY , typename BidirectIterCP , typename ForwardIterXP , typename ForwardIterYP >
int crossSpectra (ForwardIterX firstx, ForwardIterX lastx, ForwardIterY firsty, ForwardIterY lasty, BidirectIterCP firstcp, BidirectIterCP lastcp, ForwardIterXP firstxp, ForwardIterXP lastxp, ForwardIterYP firstyp, ForwardIterYP lastyp, bool overlap=true, double(*window)(int j, int n)=bartlett)
 
template<typename ContainerX , typename ContainerY , typename ContainerCP , typename ContainerXP , typename ContainerYP >
int crossSpectra (const ContainerX &x, const ContainerY &y, ContainerCP &cp, ContainerXP &xp, ContainerYP &yp, bool overlap=true, double(*window)(int j, int n)=bartlett)
 
template<typename BidirectIterCP , typename ForwardIterXP , typename ForwardIterYP , typename ForwardIterC >
void coherence (BidirectIterCP firstcp, BidirectIterCP lastcp, ForwardIterXP firstxp, ForwardIterXP lastxp, ForwardIterYP firstyp, ForwardIterYP lastyp, ForwardIterC firstc, ForwardIterC lastc)
 
template<typename ContainerCP , typename ContainerXP , typename ContainerYP , typename ContainerC >
void coherence (const ContainerCP &cp, const ContainerXP &xp, const ContainerYP &yp, ContainerC &c)