| 
    libpappsomspp
    
   Library for mass spectrometry 
   | 
 
#include <mzcalibrationinterface.h>
  
Public Member Functions | |
| MzCalibrationInterface (double digitizerTimebase, double digitizerDelay) | |
| virtual | ~MzCalibrationInterface () | 
| MzCalibrationInterface & | operator= (const MzCalibrationInterface &other) | 
| bool | operator== (const MzCalibrationInterface &other) const | 
| double | getTofFromTofIndex (quint32 tof_index) const | 
| get time of flight from raw index   | |
| double | getTofFromTofIndex (double tof_index) const | 
| get time of flight from double index   | |
| virtual double | getMzFromTofIndex (quint32 tof_index)=0 | 
| get m/z from time of flight raw index   | |
| virtual quint32 | getTofIndexFromMz (double mz)=0 | 
| get raw TOF index of a given m/z   | |
Protected Attributes | |
| double | m_digitizerTimebase = 0 | 
| double | m_digitizerDelay = 0 | 
| std::vector< double > | m_mzCalibrationArr | 
| MZ calibration parameters.   | |
Definition at line 42 of file mzcalibrationinterface.h.
| pappso::MzCalibrationInterface::MzCalibrationInterface | ( | double | digitizerTimebase, | 
| double | digitizerDelay ) | 
Default constructor
Definition at line 34 of file mzcalibrationinterface.cpp.
References m_digitizerDelay, and m_digitizerTimebase.
Referenced by pappso::MzCalibrationModel1::MzCalibrationModel1(), operator=(), and operator==().
      
  | 
  virtual | 
      
  | 
  pure virtual | 
get m/z from time of flight raw index
| tof_index | time of flight | 
Implemented in pappso::MzCalibrationModel1, and pappso::MzCalibrationModel1Cached.
Referenced by pappso::TimsFrame::combineScansToTraceWithDowngradedMzResolution(), pappso::TimsFrame::combineScansToTraceWithDowngradedMzResolution2(), pappso::TimsFrame::cumulateScansToTrace(), pappso::TimsFrame::getMassSpectrumSPtr(), pappso::TimsFrameType1::getMassSpectrumSPtr(), pappso::TimsFrameMobilityTraces::getMzList(), and pappso::TimsFrameBase::getTraceFromTofIndexIntensityMap().
| double pappso::MzCalibrationInterface::getTofFromTofIndex | ( | double | tof_index | ) | const | 
get time of flight from double index
Definition at line 45 of file mzcalibrationinterface.cpp.
References m_digitizerDelay, and m_digitizerTimebase.
| double pappso::MzCalibrationInterface::getTofFromTofIndex | ( | quint32 | tof_index | ) | const | 
get time of flight from raw index
| tof_index | digitizer x raw value | 
Definition at line 52 of file mzcalibrationinterface.cpp.
References m_digitizerDelay, and m_digitizerTimebase.
      
  | 
  pure virtual | 
get raw TOF index of a given m/z
| mz | the mass to transform | 
Implemented in pappso::MzCalibrationModel1.
| MzCalibrationInterface & pappso::MzCalibrationInterface::operator= | ( | const MzCalibrationInterface & | other | ) | 
| bool pappso::MzCalibrationInterface::operator== | ( | const MzCalibrationInterface & | other | ) | const | 
      
  | 
  protected | 
Definition at line 97 of file mzcalibrationinterface.h.
Referenced by MzCalibrationInterface(), pappso::MzCalibrationModel1::MzCalibrationModel1(), pappso::MzCalibrationModel1::getMzFromTofIndex(), getTofFromTofIndex(), getTofFromTofIndex(), and pappso::MzCalibrationModel1::getTofIndexFromMz().
      
  | 
  protected | 
Definition at line 96 of file mzcalibrationinterface.h.
Referenced by MzCalibrationInterface(), pappso::MzCalibrationModel1::MzCalibrationModel1(), pappso::MzCalibrationModel1::getMzFromTofIndex(), getTofFromTofIndex(), getTofFromTofIndex(), and pappso::MzCalibrationModel1::getTofIndexFromMz().
      
  | 
  protected | 
MZ calibration parameters.
Definition at line 101 of file mzcalibrationinterface.h.
Referenced by pappso::MzCalibrationModel1::MzCalibrationModel1(), pappso::MzCalibrationModel1::getMzFromTofIndex(), and pappso::MzCalibrationModel1::getTofIndexFromMz().