|
pappsomspp
Library for mass spectrometry
|
#include <timsframebase.h>
Public Member Functions | |
| TimsFrameBase (std::size_t timsId, quint32 scanNum) | |
| constructor for binary independant tims frame More... | |
| TimsFrameBase (const TimsFrameBase &other) | |
| ~TimsFrameBase () | |
| virtual std::size_t | getNbrPeaks (std::size_t scanNum) const |
| virtual MassSpectrumSPtr | getMassSpectrumSPtr (std::size_t scanNum) const |
| virtual Trace | cumulateScanToTrace (std::size_t scanNumBegin, std::size_t scanNumEnd) const |
| bool | checkScanNum (std::size_t scanNum) const |
| void | setAccumulationTime (double accumulation_time_ms) |
| void | setMzCalibration (double temperature_correction, double digitizerTimebase, double digitizerDelay, double C0, double C1, double C2, double C3) |
| void | setTimsCalibration (int tims_model_type, double C0, double C1, double C2, double C3, double C4, double C5, double C6, double C7, double C8, double C9) |
| void | setTime (double time) |
| void | setMsMsType (quint8 type) |
| unsigned int | getMsLevel () const |
| double | getTime () const |
| std::size_t | getId () const |
| double | getDriftTime (std::size_t scanNum) const |
| get drift time of a scan number in milliseconds More... | |
| double | getOneOverK0Transformation (std::size_t scanNum) const |
| get 1/K0 value of a given scan (mobility value) More... | |
| double | getMzFromTof (double tof) const |
| get m/z from time of flight More... | |
| quint32 | getRawIndexFromMz (double mz) const |
| get raw index of a given m/z More... | |
| double | getVoltageTransformation (std::size_t scanNum) const |
| double | getTofFromIndex (quint32 index) const |
| get time of flight from raw index More... | |
| double | getTofFromIndex (double index) const |
| get time of flight from double index More... | |
Protected Attributes | |
| quint32 | m_scanNumber |
| total number of scans contained in this frame More... | |
| std::size_t | m_timsId |
| Tims frame database id (the SQL identifier of this frame) More... | |
| double | m_accumulationTime = 0 |
| accumulation time in milliseconds More... | |
| double | m_digitizerTimebase = 0 |
| double | m_digitizerDelay = 0 |
| std::vector< double > | m_mzCalibrationArr |
| MZ calibration parameters. More... | |
| quint8 | m_msMsType = 0 |
| double | m_time = 0 |
| retention time More... | |
| double | m_timsDvStart = 0 |
| double | m_timsSlope |
| double | m_timsTtrans = 0 |
| double | m_timsNdelay = 0 |
| double | m_timsVmin = 0 |
| double | m_timsVmax = 0 |
| double | m_timsC6 = 0 |
| double | m_timsC7 = 0 |
Definition at line 62 of file timsframebase.h.
| pappso::TimsFrameBase::TimsFrameBase | ( | std::size_t | timsId, |
| quint32 | scanNum | ||
| ) |
constructor for binary independant tims frame
| timsId | tims frame identifier in the database |
| scanNum | the total number of scans contained in this frame |
Definition at line 53 of file timsframebase.cpp.
References m_accumulationTime.
| pappso::TimsFrameBase::TimsFrameBase | ( | const TimsFrameBase & | other | ) |
| pappso::TimsFrameBase::~TimsFrameBase | ( | ) |
| bool pappso::TimsFrameBase::checkScanNum | ( | std::size_t | scanNum | ) | const |
Definition at line 100 of file timsframebase.cpp.
|
virtual |
Reimplemented in pappso::TimsFrame.
Definition at line 135 of file timsframebase.cpp.
References m_digitizerDelay, and m_digitizerTimebase.
| double pappso::TimsFrameBase::getDriftTime | ( | std::size_t | scanNum | ) | const |
get drift time of a scan number in milliseconds
| scanNum | the scan number |
Definition at line 377 of file timsframebase.cpp.
| std::size_t pappso::TimsFrameBase::getId | ( | ) | const |
Definition at line 319 of file timsframebase.cpp.
|
virtual |
Reimplemented in pappso::TimsFrame.
Definition at line 127 of file timsframebase.cpp.
| unsigned int pappso::TimsFrameBase::getMsLevel | ( | ) | const |
Definition at line 305 of file timsframebase.cpp.
| double pappso::TimsFrameBase::getMzFromTof | ( | double | tof | ) | const |
get m/z from time of flight
| tof | time of flight |
Definition at line 157 of file timsframebase.cpp.
References m_mzCalibrationArr.
Referenced by pappso::TimsFrame::getTraceFromCumulatedScans().
|
virtual |
Reimplemented in pappso::TimsFrame.
Definition at line 118 of file timsframebase.cpp.
| double pappso::TimsFrameBase::getOneOverK0Transformation | ( | std::size_t | scanNum | ) | const |
get 1/K0 value of a given scan (mobility value)
| scanNum | the scan number |
Definition at line 383 of file timsframebase.cpp.
| quint32 pappso::TimsFrameBase::getRawIndexFromMz | ( | double | mz | ) | const |
get raw index of a given m/z
| mz | the mass to transform |
Definition at line 265 of file timsframebase.cpp.
| double pappso::TimsFrameBase::getTime | ( | ) | const |
Definition at line 313 of file timsframebase.cpp.
| double pappso::TimsFrameBase::getTofFromIndex | ( | double | index | ) | const |
get time of flight from double index
Definition at line 145 of file timsframebase.cpp.
| double pappso::TimsFrameBase::getTofFromIndex | ( | quint32 | index | ) | const |
get time of flight from raw index
| index | digitizer x raw value |
Definition at line 151 of file timsframebase.cpp.
Referenced by pappso::TimsFrame::getTraceFromCumulatedScans().
| double pappso::TimsFrameBase::getVoltageTransformation | ( | std::size_t | scanNum | ) | const |
Definition at line 355 of file timsframebase.cpp.
| void pappso::TimsFrameBase::setAccumulationTime | ( | double | accumulation_time_ms | ) |
Definition at line 70 of file timsframebase.cpp.
| void pappso::TimsFrameBase::setMsMsType | ( | quint8 | type | ) |
Definition at line 297 of file timsframebase.cpp.
References m_time.
| void pappso::TimsFrameBase::setMzCalibration | ( | double | temperature_correction, |
| double | digitizerTimebase, | ||
| double | digitizerDelay, | ||
| double | C0, | ||
| double | C1, | ||
| double | C2, | ||
| double | C3 | ||
| ) |
Definition at line 77 of file timsframebase.cpp.
| void pappso::TimsFrameBase::setTime | ( | double | time | ) |
Definition at line 291 of file timsframebase.cpp.
| void pappso::TimsFrameBase::setTimsCalibration | ( | int | tims_model_type, |
| double | C0, | ||
| double | C1, | ||
| double | C2, | ||
| double | C3, | ||
| double | C4, | ||
| double | C5, | ||
| double | C6, | ||
| double | C7, | ||
| double | C8, | ||
| double | C9 | ||
| ) |
Definition at line 324 of file timsframebase.cpp.
|
protected |
accumulation time in milliseconds
Definition at line 169 of file timsframebase.h.
Referenced by pappso::TimsFrame::getTraceFromCumulatedScans(), and TimsFrameBase().
|
protected |
Definition at line 172 of file timsframebase.h.
Referenced by cumulateScanToTrace().
|
protected |
Definition at line 171 of file timsframebase.h.
Referenced by cumulateScanToTrace().
|
protected |
Definition at line 178 of file timsframebase.h.
|
protected |
MZ calibration parameters.
Definition at line 176 of file timsframebase.h.
Referenced by getMzFromTof().
|
protected |
total number of scans contained in this frame
Definition at line 159 of file timsframebase.h.
|
protected |
|
protected |
Definition at line 192 of file timsframebase.h.
|
protected |
Definition at line 193 of file timsframebase.h.
|
protected |
Definition at line 184 of file timsframebase.h.
|
protected |
Tims frame database id (the SQL identifier of this frame)
Definition at line 165 of file timsframebase.h.
|
protected |
Definition at line 189 of file timsframebase.h.
|
protected |
Definition at line 185 of file timsframebase.h.
|
protected |
Definition at line 188 of file timsframebase.h.
|
protected |
Definition at line 191 of file timsframebase.h.
|
protected |
Definition at line 190 of file timsframebase.h.