#include "WireCellUtil/Waveform.h"
#include <algorithm>
#include <Eigen/Core>
#include <unsupported/Eigen/FFT>
#include <complex>
#include <iostream>
Go to the source code of this file.
Definition at line 15 of file test_zero_padding.cxx.
16 std::vector<float>
a = {1,2,3,2,1};
25 std::cout <<
x <<
" ";
30 int inSmps = tran.size();
31 tran.resize(inSmps*2);
34 std::rotate(tran.begin()+inSmps/2, tran.begin()+inSmps, tran.end());
38 std::rotate(tran.begin()+(inSmps+1)/2, tran.begin()+inSmps, tran.end());
45 std::cout <<
x.real() <<
" ";
51 float scale = tran.size() / inSmps;
56 std::cout <<
x * scale <<
" ";
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
QTextStream & endl(QTextStream &s)