A 1-dimensional raw data point or peak. More...
#include <OpenMS/KERNEL/Peak1D.h>
  
 Classes | |
| struct | IntensityLess | 
| struct | MZLess | 
| Comparator by m/z position.  More... | |
| struct | PositionLess | 
| Comparator by position. As this class has dimension 1, this is basically an alias for MZLess.  More... | |
Public Types | |
Type definitions  | |
Dimension  | |
| enum | { DIMENSION = 1 } | 
| typedef float | IntensityType | 
| Intensity type.  More... | |
| typedef DPosition< 1 > | PositionType | 
| Position type.  More... | |
| typedef double | CoordinateType | 
| Coordinate type.  More... | |
Public Member Functions | |
| Peak1D & | operator= (const Peak1D &rhs) | 
| Assignment operator.  More... | |
| bool | operator== (const Peak1D &rhs) const | 
| Equality operator.  More... | |
| bool | operator!= (const Peak1D &rhs) const | 
| Equality operator.  More... | |
Constructors and Destructor  | |
Default constructor  | |
| Peak1D () | |
| Peak1D (PositionType a, IntensityType b) | |
| construct with position and intensity  More... | |
| Peak1D (const Peak1D &p) | |
| Copy constructor.  More... | |
| ~Peak1D () | |
| Destructor.  More... | |
Accessors  | |
| IntensityType | getIntensity () const | 
| void | setIntensity (IntensityType intensity) | 
| Mutable access to the data point intensity (height)  More... | |
| CoordinateType | getMZ () const | 
| Non-mutable access to m/z.  More... | |
| void | setMZ (CoordinateType mz) | 
| Mutable access to m/z.  More... | |
| CoordinateType | getPos () const | 
| Alias for getMZ()  More... | |
| void | setPos (CoordinateType pos) | 
| Alias for setMZ()  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... | |
Protected Attributes | |
| PositionType | position_ | 
| The data point position.  More... | |
| IntensityType | intensity_ | 
| The data point intensity.  More... | |
A 1-dimensional raw data point or peak.
This data structure is intended for continuous data or peak data. If you want to annotated single peaks with meta data, use RichPeak1D instead.
| typedef double CoordinateType | 
Coordinate type.
| typedef float IntensityType | 
Intensity type.
| typedef DPosition<1> PositionType | 
Position type.
      
  | 
  inline | 
      
  | 
  inline | 
construct with position and intensity
      
  | 
  inline | 
      
  | 
  inline | 
Non-mutable access to the data point intensity (height)
Referenced by DTA2DFile::load(), Peak1D::IntensityLess::operator()(), MetaProSIPReporting::plotFilteredSpectra(), and RNPxlSearch::postScoreHits_().
      
  | 
  inline | 
Non-mutable access to m/z.
Referenced by Deisotoper::deisotopeAndSingleChargeMSSpectrum(), SimpleSearchEngine::deisotopeAndSingleChargeMSSpectrum(), DTA2DFile::load(), Peak1D::MZLess::operator()(), MetaProSIPReporting::plotFilteredSpectra(), RNPxlSearch::postScoreHits_(), TOPPOpenPepXL::preprocessPairs_(), and DTAFile::store().
      
  | 
  inline | 
Alias for getMZ()
      
  | 
  inline | 
Non-mutable access to the position.
Referenced by Peak1D::PositionLess::operator()().
      
  | 
  inline | 
Mutable access to the position.
      
  | 
  inline | 
Equality operator.
References KDTree::operator==().
Assignment operator.
References Peak1D::intensity_, and Peak1D::position_.
      
  | 
  inline | 
Equality operator.
References Peak1D::intensity_, and Peak1D::position_.
      
  | 
  inline | 
Mutable access to the data point intensity (height)
Referenced by SpectraMerger::averageCentroidSpectra_(), SpectraMerger::averageProfileSpectra_(), MetaProSIPDecomposition::calculateDecompositionWeightsIsotopicPatterns(), MascotGenericFile::getNextSpectrum_(), OnDiscMSExperiment::getSpectrum(), TOPPMetaProSIP::isotopicIntensitiesToSpectrum(), MS2File::load(), DTAFile::load(), MascotInfile::load(), XMassFile::load(), DTA2DFile::load(), PeakPickerSH::pick(), PeakPickerHiRes::pick(), PeakPickerIterative::pick(), and EmgScoring::prepareFit_().
      
  | 
  inline | 
Mutable access to m/z.
Referenced by SpectraMerger::averageCentroidSpectra_(), SpectraMerger::averageProfileSpectra_(), MetaProSIPDecomposition::calculateDecompositionWeightsIsotopicPatterns(), Deisotoper::deisotopeAndSingleChargeMSSpectrum(), SimpleSearchEngine::deisotopeAndSingleChargeMSSpectrum(), IDEvaluationBase::getPoints(), OnDiscMSExperiment::getSpectrum(), TOPPMetaProSIP::isotopicIntensitiesToSpectrum(), DTAFile::load(), DTA2DFile::load(), TOPPRNPxl::main_(), PeakPickerSH::pick(), PeakPickerHiRes::pick(), PeakPickerIterative::pick(), EmgScoring::prepareFit_(), ChromatogramExtractor::prepareSpectra_(), TOPPOpenPepXL::preprocessPairs_(), ChromatogramExtractor::return_chromatogram(), and TOPPViewBase::showSpectrumGenerationDialog().
      
  | 
  inline | 
Alias for setMZ()
      
  | 
  inline | 
Mutable access to the position.
Referenced by MascotGenericFile::getNextSpectrum_(), MS2File::load(), DTAFile::load(), MascotInfile::load(), and XMassFile::load().
      
  | 
  protected | 
The data point intensity.
Referenced by Peak1D::operator=(), and Peak1D::operator==().
      
  | 
  protected | 
The data point position.
Referenced by Peak1D::operator=(), and Peak1D::operator==().
| OpenMS / TOPP release 2.3.0 | Documentation generated on Tue Jan 9 2018 18:22:11 using doxygen 1.8.13 |