Internally (only by GPUs) used data structure . It allows efficient data exchange between CPU and GPU and avoids unnecessary memory moves. The class is tailored on the isotope wavelet transform and is in general not applicable on similar - but different - situations. More...
#include <OpenMS/TRANSFORMATIONS/FEATUREFINDER/IsotopeWaveletTransform.h>
Public Member Functions | |
| TransSpectrum () | |
| TransSpectrum (const MSSpectrum *reference) | |
| virtual | ~TransSpectrum () |
| virtual void | destroy () |
| double | getRT () const |
| double | getMZ (const UInt i) const |
| double | getRefIntensity (const UInt i) const |
| double | getTransIntensity (const UInt i) const |
| void | setTransIntensity (const UInt i, const double intens) |
| Size | size () const |
| const MSSpectrum * | getRefSpectrum () |
| const MSSpectrum * | getRefSpectrum () const |
| MSSpectrum::const_iterator | MZBegin (const double mz) const |
| MSSpectrum::const_iterator | MZEnd (const double mz) const |
| MSSpectrum::const_iterator | end () const |
| MSSpectrum::const_iterator | begin () const |
Protected Attributes | |
| const MSSpectrum * | reference_ |
| std::vector< float > * | trans_intens_ |
Friends | |
| class | IsotopeWaveletTransform |
Internally (only by GPUs) used data structure . It allows efficient data exchange between CPU and GPU and avoids unnecessary memory moves. The class is tailored on the isotope wavelet transform and is in general not applicable on similar - but different - situations.
|
inline |
Default constructor
|
inline |
Copy constructor
|
inlinevirtual |
Destructor
|
inline |
Attention: iterations will only performed over the reference spectrum. You will have to use the "distance"-function in order to get the corresponding entry of the transform.
Referenced by IsotopeWaveletTransform< PeakType >::checkPositionForPlausibility_(), and IsotopeWaveletTransform< PeakType >::scoreThis_().
|
inlinevirtual |
|
inline |
Attention: iterations will only performed over the reference spectrum. You will have to use the "distance"-function in order to get the corresponding entry of the transform.
Referenced by IsotopeWaveletTransform< PeakType >::checkPositionForPlausibility_().
Returns the mass-over-charge ratio at index i.
Referenced by IsotopeWaveletTransform< PeakType >::scoreThis_().
Returns the reference (non-transformed) intensity at index i.
|
inline |
Returns a pointer to the reference spectrum.
|
inline |
Returns a pointer to the reference spectrum.
|
inline |
Returns the RT value (not the index) of the associated scan.
Returns the transformed intensity at index i.
Referenced by IsotopeWaveletTransform< PeakType >::getAvIntens_(), IsotopeWaveletTransform< PeakType >::getSdIntens_(), and IsotopeWaveletTransform< PeakType >::scoreThis_().
|
inline |
Attention: iterations will only performed over the reference spectrum. You will have to use the "distance"-function in order to get the corresponding entry of the transform.
Referenced by IsotopeWaveletTransform< PeakType >::checkPositionForPlausibility_(), and IsotopeWaveletTransform< PeakType >::scoreThis_().
|
inline |
Attention: iterations will only performed over the reference spectrum. You will have to use the "distance"-function in order to get the corresponding entry of the transform.
Stores the intensity value i of the transform at position i.
References IsotopeWaveletTransform< PeakType >::BoxElement::intens.
|
inline |
Returns the size of spectra.
Referenced by IsotopeWaveletTransform< PeakType >::getAvIntens_(), IsotopeWaveletTransform< PeakType >::getSdIntens_(), and IsotopeWaveletTransform< PeakType >::scoreThis_().
|
friend |
|
protected |
|
protected |
| OpenMS / TOPP release 2.3.0 | Documentation generated on Tue Jan 9 2018 18:22:09 using doxygen 1.8.13 |