20#ifndef ALIGNMENTARRAY_H
21#define ALIGNMENTARRAY_H
33 AlignmentArray(
size_t minimum_size);
34 virtual ~AlignmentArray();
36 void init(
size_t minimum_size);
37 void setValues(
const std::vector<double> &values);
38 double calculateOffset(AlignmentArray &from,
int *offset);
39 double calculateOffsetAndSpeed(AlignmentArray &from,
46 std::vector<double> m_values;
47 fftw_plan m_forwardPlan;
48 std::complex<double> *m_forwardBuf;
49 fftw_plan m_backwardPlan;
50 std::complex<double> *m_backwardBuf;
51 double m_autocorrelationMax;
53 size_t m_actualComplexSize;
55 QMutex m_transformMutex;