24 #ifndef _PEAKDETECTORMATCHEDFILTER_HPP_ 25 #define _PEAKDETECTORMATCHEDFILTER_HPP_ 88 : isotopeEnvelopeEstimator(0),
90 filterSampleRadius(0),
91 peakThresholdFactor(0),
92 peakMaxCorrelationAngle(0),
93 isotopeThresholdFactor(0),
94 monoisotopicPeakThresholdFactor(0),
95 isotopeMaxChargeState(0),
96 isotopeMaxNeutronCount(0),
98 useMagnitudeFilter(false),
109 static std::auto_ptr<PeakDetectorMatchedFilter> create(
const Config& config);
126 virtual const Config& config()
const = 0;
140 std::vector<pwiz::data::peakdata::Peak>
peaks;
142 Score(
double _f = 0,
int _c = 0,
int _n = 0)
143 : frequency(_f), charge(_c), neutronCount(_n),
144 value(0), monoisotopicFrequency(0), monoisotopicIntensity(0),
152 std::vector<Score>& scores)
const = 0;
165 #endif // _PEAKDETECTORMATCHEDFILTER_HPP_
double monoisotopicFrequency
double collapseRadius
multiple peaks within this radius (Hz) are reported as single peak
int filterSampleRadius
number of filter samples taken on either side of 0
structure for holding configuration
Class for binary storage of complex frequency data.
int isotopeMaxNeutronCount
isotope filter maximum number of neutrons to score
int logDetailLevel
log detail level (0 == normal, 1 == extra)
Class used for calculating a theoretical isotope envelope for a given mass, based on an estimate of t...
std::complex< double > monoisotopicIntensity
const chemistry::IsotopeEnvelopeEstimator * isotopeEnvelopeEstimator
IsotopeEnvelopeEstimator pointer, must be valid for PeakDetector lifetime.
std::vector< pwiz::data::peakdata::Peak > peaks
Score(double _f=0, int _c=0, int _n=0)
double monoisotopicPeakThresholdFactor
noise floor multiple for monoisotopic peak threshold
PWIZ_API_DECL std::ostream & operator<<(std::ostream &os, const PeakDetectorMatchedFilter::Score &a)
std::ostream * log
log stream (0 == no logging)
MatchedFilter implementation of the PeakDetector interface.
double peakThresholdFactor
noise floor multiple for initial peak reporting threshold
Interface for finding peaks in frequency data.
int filterMatchRate
number of filter correlations computed per frequency step
double peakMaxCorrelationAngle
maximum correlation angle (degrees) for initial peak reporting
int isotopeMaxChargeState
isotope filter maximum charge state to score
double isotopeThresholdFactor
noise floor multiple for isotope filter threshold
bool useMagnitudeFilter
use the magnitude of the peak shape filter kernel for finding peaks
virtual ~PeakDetectorMatchedFilter()
structure for holding the matched filter calculation results