|
libpappsomspp
Library for mass spectrometry
|
#include <mzcalibrationmodel1.h>
Public Member Functions | |
| MzCalibrationModel1Cached (double T1_frame, double T2_frame, double digitizerTimebase, double digitizerDelay, double C0, double C1, double C2, double C3, double C4, double T1_ref, double T2_ref, double dC1, double dC2) | |
| virtual | ~MzCalibrationModel1Cached () |
| virtual double | getMzFromTofIndex (quint32 tof_index) override |
| get m/z from time of flight raw index More... | |
Public Member Functions inherited from pappso::MzCalibrationModel1 | |
| MzCalibrationModel1 (double T1_frame, double T2_frame, double digitizerTimebase, double digitizerDelay, double C0, double C1, double C2, double C3, double C4, double T1_ref, double T2_ref, double dC1, double dC2) | |
| virtual | ~MzCalibrationModel1 () |
| virtual quint32 | getTofIndexFromMz (double mz) override |
| get raw TOF index of a given m/z More... | |
Public Member Functions inherited from pappso::MzCalibrationInterface | |
| 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 More... | |
| double | getTofFromTofIndex (double tof_index) const |
| get time of flight from double index More... | |
Private Attributes | |
| double | m_arrMasses [600000] = {0} |
| quint32 | m_max =600000 |
Additional Inherited Members | |
Protected Attributes inherited from pappso::MzCalibrationInterface | |
| double | m_digitizerTimebase = 0 |
| double | m_digitizerDelay = 0 |
| std::vector< double > | m_mzCalibrationArr |
| MZ calibration parameters. More... | |
Definition at line 75 of file mzcalibrationmodel1.h.
| pappso::MzCalibrationModel1Cached::MzCalibrationModel1Cached | ( | double | T1_frame, |
| double | T2_frame, | ||
| double | digitizerTimebase, | ||
| double | digitizerDelay, | ||
| double | C0, | ||
| double | C1, | ||
| double | C2, | ||
| double | C3, | ||
| double | C4, | ||
| double | T1_ref, | ||
| double | T2_ref, | ||
| double | dC1, | ||
| double | dC2 | ||
| ) |
Default constructor
Definition at line 238 of file mzcalibrationmodel1.cpp.
|
virtual |
|
overridevirtual |
get m/z from time of flight raw index
| tof_index | time of flight |
Reimplemented from pappso::MzCalibrationModel1.
Definition at line 274 of file mzcalibrationmodel1.cpp.
References pappso::MzCalibrationModel1::getMzFromTofIndex(), m_arrMasses, and m_max.
|
private |
Definition at line 104 of file mzcalibrationmodel1.h.
Referenced by getMzFromTofIndex().
|
private |
Definition at line 105 of file mzcalibrationmodel1.h.
Referenced by getMzFromTofIndex().