ProteoWizard
Public Member Functions | Private Attributes | List of all members
pwiz::analysis::CwtPeakDetector Struct Reference

#include <CwtPeakDetector.hpp>

Inheritance diagram for pwiz::analysis::CwtPeakDetector:
pwiz::analysis::PeakDetector

Public Member Functions

 CwtPeakDetector (double minSnr, int fixedPeaksKeep, double mzTol)
 
virtual void detect (const std::vector< double > &x, const std::vector< double > &y, std::vector< double > &xPeakValues, std::vector< double > &yPeakValues, std::vector< Peak > *peaks=NULL)
 find peaks in the signal profile described by the x and y vectors More...
 
void getScales (const std::vector< double > &, const std::vector< double > &, std::vector< std::vector< std::vector< int > > > &, std::vector< double > &) const
 
void calcCorrelation (const std::vector< double > &, const std::vector< double > &, const std::vector< std::vector< std::vector< int > > > &, const std::vector< double > &, std::vector< std::vector< double > > &) const
 
void getPeakLines (const std::vector< std::vector< double > > &, const std::vector< double > &, std::vector< ridgeLine > &, std::vector< double > &) const
 
void refinePeaks (const std::vector< double > &, const std::vector< double > &, const std::vector< ridgeLine > &, const std::vector< double > &, std::vector< double > &, std::vector< double > &, std::vector< double > &) const
 
- Public Member Functions inherited from pwiz::analysis::PeakDetector
virtual ~PeakDetector ()
 

Private Attributes

double minSnr_
 
int fixedPeaksKeep_
 
double mzTol_
 
int nScales
 
std::vector< double > scalings
 

Detailed Description

Definition at line 39 of file CwtPeakDetector.hpp.

Constructor & Destructor Documentation

§ CwtPeakDetector()

pwiz::analysis::CwtPeakDetector::CwtPeakDetector ( double  minSnr,
int  fixedPeaksKeep,
double  mzTol 
)

Member Function Documentation

§ detect()

virtual void pwiz::analysis::CwtPeakDetector::detect ( const std::vector< double > &  x,
const std::vector< double > &  y,
std::vector< double > &  xPeakValues,
std::vector< double > &  yPeakValues,
std::vector< Peak > *  peaks = NULL 
)
virtual

find peaks in the signal profile described by the x and y vectors

Implements pwiz::analysis::PeakDetector.

§ getScales()

void pwiz::analysis::CwtPeakDetector::getScales ( const std::vector< double > &  ,
const std::vector< double > &  ,
std::vector< std::vector< std::vector< int > > > &  ,
std::vector< double > &   
) const

§ calcCorrelation()

void pwiz::analysis::CwtPeakDetector::calcCorrelation ( const std::vector< double > &  ,
const std::vector< double > &  ,
const std::vector< std::vector< std::vector< int > > > &  ,
const std::vector< double > &  ,
std::vector< std::vector< double > > &   
) const

§ getPeakLines()

void pwiz::analysis::CwtPeakDetector::getPeakLines ( const std::vector< std::vector< double > > &  ,
const std::vector< double > &  ,
std::vector< ridgeLine > &  ,
std::vector< double > &   
) const

§ refinePeaks()

void pwiz::analysis::CwtPeakDetector::refinePeaks ( const std::vector< double > &  ,
const std::vector< double > &  ,
const std::vector< ridgeLine > &  ,
const std::vector< double > &  ,
std::vector< double > &  ,
std::vector< double > &  ,
std::vector< double > &   
) const

Member Data Documentation

§ minSnr_

double pwiz::analysis::CwtPeakDetector::minSnr_
private

Definition at line 54 of file CwtPeakDetector.hpp.

§ fixedPeaksKeep_

int pwiz::analysis::CwtPeakDetector::fixedPeaksKeep_
private

Definition at line 55 of file CwtPeakDetector.hpp.

§ mzTol_

double pwiz::analysis::CwtPeakDetector::mzTol_
private

Definition at line 56 of file CwtPeakDetector.hpp.

§ nScales

int pwiz::analysis::CwtPeakDetector::nScales
private

Definition at line 57 of file CwtPeakDetector.hpp.

§ scalings

std::vector<double> pwiz::analysis::CwtPeakDetector::scalings
private

Definition at line 58 of file CwtPeakDetector.hpp.


The documentation for this struct was generated from the following file: