|
OpenMS
2.5.0
|
Go to the documentation of this file.
84 enum Sorted {INTENSITY, MASS, UNDEFINED};
106 void set(const ContainerType & distribution);
109 void set(ContainerType && distribution);
112 const ContainerType & getContainer() const;
115 Peak1D::CoordinateType getMax() const;
118 Peak1D::CoordinateType getMin() const;
121 Peak1D getMostAbundant() const;
130 void resize(
UInt size);
133 void trimIntensities(
double cutoff);
136 void sortByIntensity();
155 void merge(
double resolution,
double min_prob);
165 void trimRight(
double cutoff);
175 void trimLeft(
double cutoff);
178 double averageMass() const;
216 distribution_.push_back(
Peak1D(mass, intensity));
222 Peak1D& operator[](
const Size& index){
return distribution_[index];}
229 void sort_(std::function<
bool(
const MassAbundance& p1,
const MassAbundance& p2)> sorter);
232 void transform_(std::function<
void(MassAbundance&)> lambda);
ContainerType::iterator Iterator
Definition: IsotopeDistribution.h:74
std::vector< MassAbundance > ContainerType
Definition: IsotopeDistribution.h:72
ContainerType::reverse_iterator reverse_iterator
Definition: IsotopeDistribution.h:78
ReverseIterator rend()
Definition: IsotopeDistribution.h:208
ContainerType::reverse_iterator ReverseIterator
Definition: IsotopeDistribution.h:79
ContainerType distribution_
stores the isotope distribution
Definition: IsotopeDistribution.h:235
Iterator end()
Definition: IsotopeDistribution.h:200
ContainerType::const_reverse_iterator const_reverse_iterator
Definition: IsotopeDistribution.h:80
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
ContainerType::const_iterator ConstIterator
Definition: IsotopeDistribution.h:76
Iterator begin()
Definition: IsotopeDistribution.h:198
ReverseIterator rbegin()
Definition: IsotopeDistribution.h:206
ContainerType::const_reverse_iterator ConstReverseIterator
Definition: IsotopeDistribution.h:81
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
ConstReverseIterator rend() const
Definition: IsotopeDistribution.h:212
ConstIterator begin() const
Definition: IsotopeDistribution.h:202
void insert(const Peak1D::CoordinateType &mass, const Peak1D::IntensityType &intensity)
Definition: IsotopeDistribution.h:214
A 1-dimensional raw data point or peak.
Definition: Peak1D.h:54
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
Definition: IsotopeDistribution.h:64
ConstIterator end() const
Definition: IsotopeDistribution.h:204
Sorted
Definition: IsotopeDistribution.h:84
ContainerType::const_iterator const_iterator
Definition: IsotopeDistribution.h:75
ConstReverseIterator rbegin() const
Definition: IsotopeDistribution.h:210
ContainerType::iterator iterator
Definition: IsotopeDistribution.h:73