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:
@ -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 *
|
||||
******************************************************************************/
|
||||
|
Reference in New Issue
Block a user