17 #ifndef ATOMPROBE_MASS__FILTER_H 18 #define ATOMPROBE_MASS__FILTER_H 38 const std::vector<float> &peakData,
float tolerance,
39 size_t solutionCharge, std::vector<std::vector<AtomProbe::ISOTOPE_ENTRY> > &solutions);
53 float minPpm, std::vector<std::vector<AtomProbe::ISOTOPE_ENTRY> > &solutions);
69 float peakMass,
float massWidth,
const std::vector<std::vector<AtomProbe::ISOTOPE_ENTRY> > &solutions,
72 bool isotopeFilterTests();
void filterPeakNeedBiggerObs(const AtomProbe::AbundanceData &massTable, const std::vector< float > &peakData, float tolerance, size_t solutionCharge, std::vector< std::vector< AtomProbe::ISOTOPE_ENTRY > > &solutions)
void filterBySolutionPPM(const AtomProbe::AbundanceData &massTable, float minPpm, std::vector< std::vector< AtomProbe::ISOTOPE_ENTRY > > &solutions)
Use the maximum possible PPM for each isotopic combination to filter possible solutions.
Class to load abundance information for natural isotopes.
std::vector< float > maxExplainedFraction(const std::vector< std::pair< float, float > > &massData, float peakMass, float massWidth, const std::vector< std::vector< AtomProbe::ISOTOPE_ENTRY > > &solutions, const AtomProbe::AbundanceData &massTable, float massDistTol, unsigned int solutionCharge)
Compute the fraction of the data that has been explained, using the natural abundance information...