105 void setMaxIsotope(
Size max_isotope);
108 Size getMaxIsotope()
const;
134 void estimateFromPeptideWeight(
double average_weight);
145 void estimateFromPeptideWeightAndS(
double average_weight,
UInt S);
153 void estimateFromRNAWeight(
double average_weight);
160 void estimateFromDNAWeight(
double average_weight);
167 void estimateFromWeightAndComp(
double average_weight,
double C,
double H,
double N,
double O,
double S,
double P);
183 void estimateFromWeightAndCompAndS(
double average_weight,
UInt S,
double C,
double H,
double N,
double O,
double P);
199 void estimateForFragmentFromPeptideWeight(
double average_weight_precursor,
double average_weight_fragment,
const std::set<UInt>& precursor_isotopes);
220 void estimateForFragmentFromPeptideWeightAndS(
double average_weight_precursor,
UInt S_precursor,
double average_weight_fragment,
UInt S_fragment,
const std::set<UInt>& precursor_isotopes);
236 void estimateForFragmentFromRNAWeight(
double average_weight_precursor,
double average_weight_fragment,
const std::set<UInt>& precursor_isotopes);
252 void estimateForFragmentFromDNAWeight(
double average_weight_precursor,
double average_weight_fragment,
const std::set<UInt>& precursor_isotopes);
275 void estimateForFragmentFromWeightAndComp(
double average_weight_precursor,
double average_weight_fragment,
const std::set<UInt>& precursor_isotopes,
double C,
double H,
double N,
double O,
double S,
double P);
307 void trimRight(
double cutoff);
317 void trimLeft(
double cutoff);
366 void convolve_(ContainerType & result,
const ContainerType & left,
const ContainerType & right)
const;
369 void convolvePow_(ContainerType & result,
const ContainerType & input,
Size factor)
const;
372 void convolveSquare_(ContainerType & result,
const ContainerType & input)
const;
380 void calcFragmentIsotopeDist_(ContainerType& result,
const ContainerType& fragment_isotope_dist,
const ContainerType& comp_fragment_isotope_dist,
const std::set<UInt>& precursor_isotopes);
383 ContainerType fillGaps_(
const ContainerType&
id)
const;
ContainerType::iterator Iterator
Definition: IsotopeDistribution.h:70
ContainerType::reverse_iterator reverse_iterator
Definition: IsotopeDistribution.h:74
ReverseIterator rbegin()
Definition: IsotopeDistribution.h:354
Iterator end()
Definition: IsotopeDistribution.h:348
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
Isotope distribution class.
Definition: IsotopeDistribution.h:61
ContainerType::iterator iterator
Definition: IsotopeDistribution.h:69
Size max_isotope_
maximal isotopes which is used to calculate the distribution
Definition: IsotopeDistribution.h:386
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
ReverseIterator rend()
Definition: IsotopeDistribution.h:356
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
ContainerType::reverse_iterator ReverseIterator
Definition: IsotopeDistribution.h:75
ContainerType::const_reverse_iterator const_reverse_iterator
Definition: IsotopeDistribution.h:76
Iterator begin()
Definition: IsotopeDistribution.h:346
ConstReverseIterator rbegin() const
Definition: IsotopeDistribution.h:358
DPosition< D, TCoordinateType > operator*(DPosition< D, TCoordinateType > position, typename DPosition< D, TCoordinateType >::CoordinateType scalar)
Scalar multiplication (a bit inefficient)
Definition: DPosition.h:420
ConstReverseIterator rend() const
Definition: IsotopeDistribution.h:360
ContainerType::const_iterator const_iterator
Definition: IsotopeDistribution.h:71
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
ConstIterator begin() const
Definition: IsotopeDistribution.h:350
ContainerType distribution_
stores the isotope distribution
Definition: IsotopeDistribution.h:389
ConstIterator end() const
Definition: IsotopeDistribution.h:352
std::vector< std::pair< Size, double > > ContainerType
container type, first holds the weight of the isotope, second the probability
Definition: IsotopeDistribution.h:68
ContainerType::const_iterator ConstIterator
Definition: IsotopeDistribution.h:72
ContainerType::const_reverse_iterator ConstReverseIterator
Definition: IsotopeDistribution.h:77