|
ProteoWizard
|
#include "PeakFinder.hpp"#include "pwiz/utility/misc/unit.hpp"#include "pwiz/utility/misc/Std.hpp"#include <cstring>Go to the source code of this file.
Functions | |
| void | addSignal (OrderedPair *p) |
| vector< double > | createTestData () |
| void | test_SNR () |
| void | test () |
| int | main (int argc, char *argv[]) |
Variables | |
| ostream * | os_ = 0 |
| double | testNoise_ [] |
| void addSignal | ( | OrderedPair * | p | ) |
Definition at line 53 of file PeakFinderTest.cpp.
References pwiz::math::OrderedPair::y, and y.
Referenced by createTestData().
| vector<double> createTestData | ( | ) |
Definition at line 63 of file PeakFinderTest.cpp.
References addSignal(), and testNoise_.
Referenced by test_SNR().
| void test_SNR | ( | ) |
Definition at line 76 of file PeakFinderTest.cpp.
References createTestData(), pwiz::analysis::PeakFinder_SNR::findPeaks(), pwiz::analysis::PeakFinder_SNR::Config::log, os_, unit_assert, and pwiz::analysis::PeakFinder_SNR::Config::windowRadius.
Referenced by test().
| void test | ( | ) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 112 of file PeakFinderTest.cpp.
References e(), os_, test(), TEST_EPILOG, TEST_FAILED, and TEST_PROLOG.
| ostream* os_ = 0 |
Definition at line 35 of file PeakFinderTest.cpp.
| double testNoise_[] |
Definition at line 38 of file PeakFinderTest.cpp.
1.8.1.1