#include "WireCellUtil/FFTBestLength.h"
#include <iostream>
#include <vector>
Go to the source code of this file.
|
int | main (int argc, char **argv) |
|
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 8 of file test_fft_window.cxx.
9 std::vector<std::size_t> lengths{ 2, 4, 8, 16, 32, 64, 128, 256,
30 for (
auto len : lengths) {
31 for (
auto add : {-1,0,1}) {
32 const size_t ini = len +
add;
35 std::cout << ini <<
" " << t <<
" " << f <<
std::endl;
38 std::cout <<
"<num> <keep=true> <keep=false>\n";
std::size_t fft_best_length(size_t nsamples, bool keep_odd_even=false)
Coord add(Coord c1, Coord c2)
QTextStream & endl(QTextStream &s)