1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2025-06-23 17:22:02 +01:00

correlator transform utilities

This commit is contained in:
2020-02-02 19:43:14 +01:00
parent f014003593
commit 3e70792a06
3 changed files with 89 additions and 20 deletions

View File

@ -22,6 +22,7 @@
#include <LatAnalyze/Global.hpp>
#include <LatAnalyze/Functional/Model.hpp>
#include <LatAnalyze/Numerical/FFT.hpp>
#include <LatAnalyze/Statistics/XYSampleData.hpp>
BEGIN_LATAN_NAMESPACE
@ -49,6 +50,17 @@ namespace CorrelatorModels
DVec parameterGuess(const DMatSample &corr, const ModelPar par);
};
/******************************************************************************
* Correlator utilities *
******************************************************************************/
namespace CorrelatorUtils
{
DMatSample shift(const DMatSample &c, const Index ts);
DMatSample fold(const DMatSample &c);
DMatSample fourierTransform(const DMatSample &c, FFT &fft,
const unsigned int dir = FFT::Forward);
};
/******************************************************************************
* Correlator fit utility class *
******************************************************************************/