OpenMS
|
A 1-dimensional raw data point or peak for chromatograms. More...
#include <OpenMS/KERNEL/ChromatogramPeak.h>
Classes | |
struct | IntensityLess |
Comparator by intensity. More... | |
struct | PositionLess |
Comparator by position. As this class has dimension 1, this is basically an alias for RTLess. More... | |
struct | RTLess |
Comparator by RT position. More... | |
Public Types | |
Type definitions | |
enum | { DIMENSION = 1 } |
Dimension. More... | |
typedef double | IntensityType |
Intensity type. More... | |
typedef DPosition< 1 > | PositionType |
Position type. More... | |
typedef double | CoordinateType |
Coordinate type. More... | |
Public Member Functions | |
Constructors and Destructor | |
ChromatogramPeak () | |
Default constructor. More... | |
ChromatogramPeak (const ChromatogramPeak &p) | |
Copy constructor. More... | |
ChromatogramPeak (const PositionType retention_time, const IntensityType intensity) | |
Constructor with position and intensity. More... | |
~ChromatogramPeak () | |
Destructor. More... | |
Accessors | |
IntensityType | getIntensity () const |
Non-mutable access to the data point intensity (height) More... | |
void | setIntensity (IntensityType intensity) |
Mutable access to the data point intensity (height) More... | |
CoordinateType | getRT () const |
Non-mutable access to RT. More... | |
void | setRT (CoordinateType rt) |
Mutable access to RT. More... | |
CoordinateType | getPos () const |
Alias for getRT() More... | |
void | setPos (CoordinateType pos) |
Alias for setRT() More... | |
CoordinateType | getMZ () const |
Alias for getRT() More... | |
void | setMZ (CoordinateType rt) |
Alias for setRT() More... | |
PositionType const & | getPosition () const |
Non-mutable access to the position. More... | |
PositionType & | getPosition () |
Mutable access to the position. More... | |
void | setPosition (PositionType const &position) |
Mutable access to the position. More... | |
ChromatogramPeak & | operator= (const ChromatogramPeak &rhs) |
Assignment operator. More... | |
bool | operator== (const ChromatogramPeak &rhs) const |
Equality operator. More... | |
bool | operator!= (const ChromatogramPeak &rhs) const |
Equality operator. More... | |
Protected Attributes | |
Comparator classes. | |
These classes implement binary predicates that can be used to compare two peaks with respect to their intensities, positions. | |
PositionType | position_ |
The data point position. More... | |
IntensityType | intensity_ |
The data point intensity. More... | |
A 1-dimensional raw data point or peak for chromatograms.
This datastructure is intended for chromatograms.
typedef double CoordinateType |
Coordinate type.
typedef double IntensityType |
Intensity type.
typedef DPosition<1> PositionType |
Position type.
|
inline |
Default constructor.
|
inline |
Copy constructor.
|
inline |
Constructor with position and intensity.
|
inline |
Destructor.
|
inline |
Non-mutable access to the data point intensity (height)
Referenced by DimINT::map(), and ChromatogramPeak::IntensityLess::operator()().
|
inline |
Alias for getRT()
|
inline |
Alias for getRT()
Referenced by ChromatogramPeak::RTLess::operator()().
|
inline |
Mutable access to the position.
|
inline |
Non-mutable access to the position.
Referenced by ChromatogramPeak::PositionLess::operator()().
|
inline |
Non-mutable access to RT.
Referenced by DimRT::map(), and ChromatogramPeak::RTLess::operator()().
|
inline |
Equality operator.
References OpenMS::Internal::operator==().
|
inline |
Assignment operator.
References ChromatogramPeak::intensity_, and ChromatogramPeak::position_.
|
inline |
Equality operator.
References ChromatogramPeak::intensity_, and ChromatogramPeak::position_.
|
inline |
Mutable access to the data point intensity (height)
Referenced by ChromatogramTools::convertSpectraToChromatograms(), and DimINT::fromXY().
|
inline |
Alias for setRT()
|
inline |
Alias for setRT()
|
inline |
Mutable access to the position.
|
inline |
Mutable access to RT.
Referenced by ChromatogramTools::convertSpectraToChromatograms(), and DimRT::fromXY().
|
protected |
The data point intensity.
Referenced by ChromatogramPeak::operator=(), and ChromatogramPeak::operator==().
|
protected |
The data point position.
Referenced by ChromatogramPeak::operator=(), and ChromatogramPeak::operator==().