|
ProteoWizard
|
#include "PeakExtractor.hpp"#include "PeakelGrower.hpp"#include "PeakelPicker.hpp"#include "pwiz/data/msdata/MSDataFile.hpp"#include "pwiz/analysis/passive/MSDataCache.hpp"#include "pwiz/utility/misc/unit.hpp"#include "boost/filesystem/path.hpp"#include "pwiz/utility/misc/Std.hpp"Go to the source code of this file.
Classes | |
| struct | SetRetentionTime |
Functions | |
| shared_ptr< PeakExtractor > | createPeakExtractor () |
| vector< vector< Peak > > | extractPeaks (const MSData &msd, const PeakExtractor &peakExtractor) |
| shared_ptr< PeakelGrower > | createPeakelGrower () |
| void | print (ostream &os, const string &label, vector< PeakelPtr > v) |
| void | verifyBombesinPeakels (const PeakelField &peakelField) |
| shared_ptr< PeakelPicker > | createPeakelPicker () |
| void | verifyBombesinFeatures (const FeatureField &featureField) |
| void | testBombesin (const string &filename) |
| void | test (const bfs::path &datadir) |
| int | main (int argc, char *argv[]) |
Variables | |
| ostream * | os_ = 0 |
| shared_ptr<PeakExtractor> createPeakExtractor | ( | ) |
Definition at line 44 of file FeatureDetectorTuningTest.cpp.
References pwiz::analysis::PeakFinder_SNR::Config::windowRadius, pwiz::analysis::PeakFitter_Parabola::Config::windowRadius, and pwiz::analysis::PeakFinder_SNR::Config::zValueThreshold.
Referenced by testBombesin().
| vector< vector<Peak> > extractPeaks | ( | const MSData & | msd, |
| const PeakExtractor & | peakExtractor | ||
| ) |
Definition at line 70 of file FeatureDetectorTuningTest.cpp.
References pwiz::msdata::SpectrumInfo::data, pwiz::analysis::PeakExtractor::extractPeaks(), pwiz::analysis::MSDataCache::open(), os_, pwiz::msdata::SpectrumInfo::retentionTime, and pwiz::analysis::MSDataCache::spectrumInfo().
Referenced by testBombesin().
| shared_ptr<PeakelGrower> createPeakelGrower | ( | ) |
Definition at line 98 of file FeatureDetectorTuningTest.cpp.
References pwiz::analysis::PeakelGrower_Proximity::Config::mzTolerance, and pwiz::analysis::PeakelGrower_Proximity::Config::rtTolerance.
Referenced by testBombesin().
| void print | ( | ostream & | os, |
| const string & | label, | ||
| vector< PeakelPtr > | v | ||
| ) |
Definition at line 108 of file FeatureDetectorTuningTest.cpp.
Referenced by verifyBombesinPeakels().
| void verifyBombesinPeakels | ( | const PeakelField & | peakelField | ) |
Definition at line 116 of file FeatureDetectorTuningTest.cpp.
References pwiz::analysis::MZRTField< T >::find(), os_, print(), and unit_assert.
Referenced by testBombesin().
| shared_ptr<PeakelPicker> createPeakelPicker | ( | ) |
Definition at line 155 of file FeatureDetectorTuningTest.cpp.
References pwiz::analysis::PeakelPicker_Basic::Config::minMonoisotopicPeakelSize.
Referenced by testBombesin().
| void verifyBombesinFeatures | ( | const FeatureField & | featureField | ) |
Definition at line 165 of file FeatureDetectorTuningTest.cpp.
References epsilon, pwiz::analysis::MZRTField< T >::find(), unit_assert, and unit_assert_equal.
| void testBombesin | ( | const string & | filename | ) |
Definition at line 197 of file FeatureDetectorTuningTest.cpp.
References createPeakelGrower(), createPeakelPicker(), createPeakExtractor(), extractPeaks(), os_, pwiz::msdata::MSData::run, pwiz::msdata::Run::spectrumListPtr, unit_assert, verifyBombesinFeatures(), and verifyBombesinPeakels().
| void test | ( | const bfs::path & | datadir | ) |
Definition at line 232 of file FeatureDetectorTuningTest.cpp.
References testBombesin().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 238 of file FeatureDetectorTuningTest.cpp.
References e(), os_, test(), TEST_EPILOG, TEST_FAILED, and TEST_PROLOG.
| ostream* os_ = 0 |
Definition at line 41 of file FeatureDetectorTuningTest.cpp.
1.8.1.1