53 class IsoLayeredGenerator;
54 class IsoThresholdGenerator;
55 class IsoOrderedGenerator;
229 const std::vector<int>& atomCounts,
230 const std::vector<std::vector<double> >& isotopeMasses,
231 const std::vector<std::vector<double> >& isotopeProbabilities,
246 double getMass() final;
247 double getIntensity() final;
248 double getLogIntensity() final;
251 std::unique_ptr<
IsoSpec::IsoLayeredGenerator> ILG;
294 const std::vector<int>& atomCounts,
295 const std::vector<std::vector<double> >& isotopeMasses,
296 const std::vector<std::vector<double> >& isotopeProbabilities,
313 double getMass() final;
314 double getIntensity() final;
315 double getLogIntensity() final;
319 std::unique_ptr<
IsoSpec::IsoThresholdGenerator> ITG;
351 const std::vector<int>& atomCounts,
352 const std::vector<std::vector<double> >& isotopeMasses,
353 const std::vector<std::vector<double> >& isotopeProbabilities);
367 inline
double getMass() final;
368 inline
double getIntensity() final;
369 inline
double getLogIntensity() final;
372 std::unique_ptr<
IsoSpec::IsoOrderedGenerator> IOG;
418 const std::vector<int>& atomCounts,
419 const std::vector<std::vector<double> >& isotopeMasses,
420 const std::vector<std::vector<double> >& isotopeProbabilities,
422 bool do_p_trim =
false);
438 std::unique_ptr<
IsoSpec::IsoLayeredGenerator> ILG;
439 const
double target_prob;
440 const
bool do_p_trim;
482 const std::vector<int>& atomCounts,
483 const std::vector<std::vector<double> >& isotopeMasses,
484 const std::vector<std::vector<double> >& isotopeProbabilities,
501 std::unique_ptr<
IsoSpec::IsoThresholdGenerator> ITG;
Interface for the IsoSpec algorithm - a generator of infinitely-resolved theoretical spectra.
Definition: IsoSpecWrapper.h:89
virtual Peak1D getConf()=0
Obtain the current isotopologue.
virtual bool nextConf()=0
Move the generator to a next isotopologue.
virtual ~IsoSpecGeneratorWrapper()=default
Destructor.
virtual double getIntensity()=0
Obtain the intensity (probability, relative peak height) of the current configuration.
virtual double getLogIntensity()=0
Obtain the natural logarithm of the intensity (probability, relative peak height) of the current conf...
virtual double getMass()=0
Obtain the mass of the current isotopologue.
Generate the stream of configurations, ordered from most likely to least likely.
Definition: IsoSpecWrapper.h:339
~IsoSpecOrderedGeneratorWrapper()
bool nextConf() final
Move the generator to a next isotopologue.
IsoSpecOrderedGeneratorWrapper(const EmpiricalFormula &formula)
Setup the algorithm to run on an EmpiricalFormula.
IsoSpecOrderedGeneratorWrapper(const IsoSpecOrderedGeneratorWrapper &)=delete
IsoSpecOrderedGeneratorWrapper(const std::vector< int > &isotopeNumbers, const std::vector< int > &atomCounts, const std::vector< std::vector< double > > &isotopeMasses, const std::vector< std::vector< double > > &isotopeProbabilities)
Constructor.
Provides a threshold-based generator of isotopologues: generates all isotopologues more probable than...
Definition: IsoSpecWrapper.h:276
IsoSpecThresholdGeneratorWrapper(const std::vector< int > &isotopeNumbers, const std::vector< int > &atomCounts, const std::vector< std::vector< double > > &isotopeMasses, const std::vector< std::vector< double > > &isotopeProbabilities, double threshold, bool absolute)
Constructor.
IsoSpecThresholdGeneratorWrapper(const IsoSpecThresholdGeneratorWrapper &)=delete
bool nextConf() final
Move the generator to a next isotopologue.
IsoSpecThresholdGeneratorWrapper(const EmpiricalFormula &formula, double threshold, bool absolute)
Setup the algorithm to run on an EmpiricalFormula.
~IsoSpecThresholdGeneratorWrapper()
A non-generator version of IsoSpecThresholdGeneratorWrapper.
Definition: IsoSpecWrapper.h:464
IsoSpecThresholdWrapper(const std::vector< int > &isotopeNumbers, const std::vector< int > &atomCounts, const std::vector< std::vector< double > > &isotopeMasses, const std::vector< std::vector< double > > &isotopeProbabilities, double threshold, bool absolute)
Constructor.
~IsoSpecThresholdWrapper()
IsotopeDistribution run() final
Run the algorithm.
IsoSpecThresholdWrapper(const EmpiricalFormula &formula, double threshold, bool absolute)
Setup the algorithm to run on an EmpiricalFormula.
IsoSpecThresholdWrapper(const IsoSpecThresholdWrapper &)=delete
Generate a p-set of configurations for a given p (that is, a set of configurations such that their pr...
Definition: IsoSpecWrapper.h:213
IsoSpecTotalProbGeneratorWrapper(const IsoSpecTotalProbGeneratorWrapper &)=delete
~IsoSpecTotalProbGeneratorWrapper()
IsoSpecTotalProbGeneratorWrapper(const EmpiricalFormula &formula, double p)
Setup the algorithm to run on an EmpiricalFormula.
bool nextConf() final
Move the generator to a next isotopologue.
IsoSpecTotalProbGeneratorWrapper(const std::vector< int > &isotopeNumbers, const std::vector< int > &atomCounts, const std::vector< std::vector< double > > &isotopeMasses, const std::vector< std::vector< double > > &isotopeProbabilities, double p)
Constructor.
Create a p-set of configurations for a given p (that is, a set of configurations such that their prob...
Definition: IsoSpecWrapper.h:401
IsoSpecTotalProbWrapper(const IsoSpecTotalProbWrapper &)=delete
IsotopeDistribution run() final
Run the algorithm.
IsoSpecTotalProbWrapper(const EmpiricalFormula &formula, double p, bool do_p_trim=false)
Setup the algorithm to run on an EmpiricalFormula.
~IsoSpecTotalProbWrapper()
IsoSpecTotalProbWrapper(const std::vector< int > &isotopeNumbers, const std::vector< int > &atomCounts, const std::vector< std::vector< double > > &isotopeMasses, const std::vector< std::vector< double > > &isotopeProbabilities, double p, bool do_p_trim=false)
Constructor.
A convenience class for the IsoSpec algorithm - easier to use than the IsoSpecGeneratorWrapper classe...
Definition: IsoSpecWrapper.h:154
virtual IsotopeDistribution run()=0
Run the algorithm.
virtual ~IsoSpecWrapper()=default
Definition: IsotopeDistribution.h:65
A 1-dimensional raw data point or peak.
Definition: Peak1D.h:54
Definition: IsoSpecWrapper.h:52
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47