#include "types.h"#include <vector>#include "CFatalException.h"#include "TsSpectrum.h"#include <boost/numeric/ublas/vector.hpp>#include <iostream>#include <functional>Go to the source code of this file.
Functions | |
| void | NormEnvelope (std::vector< double >::iterator Inputbegin, std::vector< double >::iterator Inputend, std::vector< double > &Output) |
| void | Hilbert (std::vector< double >::iterator Inputbegin, std::vector< double >::iterator Inputend, std::vector< double > &Output) |
| double | Cross (ttsdata Master, ttsdata Corr, const int startpoint, const int endpoint) |
| double | Commute (dcomp A, dcomp B) |
| int | FuzzComp (double par1, double par2, double tolerance) |
| template<typename ts_type> | |
| void | Do_Spec_Mul (const ts_type &Master, const ts_type &Corr, ts_type &Output, const bool docorrel) |
| perform spectral multipliaction on two vector style container and write the result to output | |
| template<typename ts_type> | |
| void | Correl (const ts_type &Master, const ts_type &Corr, ts_type &Output) |
| A convenience wrapper to calculate correlations. | |
| template<typename ts_type> | |
| void | Convolve (const ts_type &Master, const ts_type &Corr, ts_type &Output) |
| A convenience wrapper to calculate convolution. | |
| double Commute | ( | dcomp | A, | |
| dcomp | B | |||
| ) | [inline] |
Definition at line 19 of file miscfunc.h.
Referenced by MTTensor::GetAlpha(), MTTensor::GetEta(), and MTTensor::GetMu().
| void Convolve | ( | const ts_type & | Master, | |
| const ts_type & | Corr, | |||
| ts_type & | Output | |||
| ) | [inline] |
A convenience wrapper to calculate convolution.
Definition at line 82 of file miscfunc.h.
References Do_Spec_Mul().
Referenced by WienerFilter::CalcOutput(), IterDecon::CalcOutput(), and main().
| void Correl | ( | const ts_type & | Master, | |
| const ts_type & | Corr, | |||
| ts_type & | Output | |||
| ) | [inline] |
A convenience wrapper to calculate correlations.
Definition at line 76 of file miscfunc.h.
References Do_Spec_Mul().
Referenced by WienerFilter::AdaptFilter(), IterDecon::AdaptFilter(), and main().
| double Cross | ( | ttsdata | Master, | |
| ttsdata | Corr, | |||
| const int | startpoint, | |||
| const int | endpoint | |||
| ) |
Definition at line 72 of file miscfunc.cpp.
References size.
Referenced by WienerFilter::AdaptFilter(), CalcCorrMatrix(), and main().
| void Do_Spec_Mul | ( | const ts_type & | Master, | |
| const ts_type & | Corr, | |||
| ts_type & | Output, | |||
| const bool | docorrel | |||
| ) | [inline] |
perform spectral multipliaction on two vector style container and write the result to output
Do_Spec_Mul takes two input vectors, Master and Corr of the same length, writes either the convolution or correlation into the vector output, depending on docorrel
Definition at line 46 of file miscfunc.h.
References TsSpectrum::CalcSpectrum(), and TsSpectrum::CalcTimeSeries().
Referenced by Convolve(), and Correl().
| int FuzzComp | ( | double | par1, | |
| double | par2, | |||
| double | tolerance | |||
| ) | [inline] |
Definition at line 25 of file miscfunc.h.
| void Hilbert | ( | std::vector< double >::iterator | Inputbegin, | |
| std::vector< double >::iterator | Inputend, | |||
| std::vector< double > & | Output | |||
| ) |
| void NormEnvelope | ( | std::vector< double >::iterator | Inputbegin, | |
| std::vector< double >::iterator | Inputend, | |||
| std::vector< double > & | Output | |||
| ) |
1.5.5