ProteoWizard
Static Public Member Functions
pwiz::msdata::mz5::Translator_mz5 Class Reference

Helper class to translate mz values. More...

#include <Translator_mz5.hpp>

List of all members.

Static Public Member Functions

static void translate (std::vector< double > &mz, std::vector< double > &inten)
 Translates mz and intensity values.
static void translateMZ (std::vector< double > &mz)
 Translates a mz data array with the function f[0] = f[0] f[i] = f[i] - f[i-1].
static void translateIntensity (std::vector< double > &inten)
 Currently empty but can be used to alter intensity values.
static void reverseTranslate (std::vector< double > &mz, std::vector< double > &inten)
 Recalculates mz and intensity data.
static void reverseTranslateMZ (std::vector< double > &)
 Translates a mz data array with the function: f[0] = f[0] f[i] = f[i-1] + f[i].
static void reverseTranslateIntensity (std::vector< double > &)
 Currently empty but can be used to reverse the function translateIntensity()

Detailed Description

Helper class to translate mz values.

Definition at line 36 of file Translator_mz5.hpp.


Member Function Documentation

static void pwiz::msdata::mz5::Translator_mz5::translate ( std::vector< double > &  mz,
std::vector< double > &  inten 
)
static

Translates mz and intensity values.

Parameters:
mzmz data
intenintensity data
static void pwiz::msdata::mz5::Translator_mz5::translateMZ ( std::vector< double > &  mz)
static

Translates a mz data array with the function f[0] = f[0] f[i] = f[i] - f[i-1].

This creates delta mz values in O(n) time but only needs one additional double.

Parameters:
mzuntranslated mz data
static void pwiz::msdata::mz5::Translator_mz5::translateIntensity ( std::vector< double > &  inten)
static

Currently empty but can be used to alter intensity values.

static void pwiz::msdata::mz5::Translator_mz5::reverseTranslate ( std::vector< double > &  mz,
std::vector< double > &  inten 
)
static

Recalculates mz and intensity data.

Parameters:
mzmz data
intenintensity data
static void pwiz::msdata::mz5::Translator_mz5::reverseTranslateMZ ( std::vector< double > &  )
static

Translates a mz data array with the function: f[0] = f[0] f[i] = f[i-1] + f[i].

This method creates absolute mz values in O(n) time but only needs one additional double.

Parameters:
mztranslated mz data
static void pwiz::msdata::mz5::Translator_mz5::reverseTranslateIntensity ( std::vector< double > &  )
static

Currently empty but can be used to reverse the function translateIntensity()


The documentation for this class was generated from the following file: