31#include <QSqlDatabase>
131 [[deprecated(
"Please use getMsLevelByGlobalScanIndex")]]
unsigned int
137 [[deprecated(
"Please use getQualifiedMassSpectrumByGlobalScanIndex")]]
void
140 std::size_t global_scan_index,
141 bool want_binary_data);
146 std::size_t global_scan_index,
147 bool want_binary_data);
176 [[deprecated(
"Please use getScanByGlobalScanIndex")]]
TimsDataFastMap &
186 [[deprecated(
"Please use getRetentionTimeLineInSeconds")]]
virtual std::vector<double>
211 "Please use getScanCoordinatesByGlobalScanIndex")]] std::pair<std::size_t, std::size_t>
217 [[deprecated(
"Please use getGlobalScanIndexByScanCoordinates")]] std::size_t
Class representing a fully specified mass spectrum.
std::size_t getGlobalScanIndexByScanCoordinates(std::size_t frame_id, std::size_t index) const
QSqlDatabase openDatabaseConnection() const
std::size_t getTotalScanCount() const
TimsDiaSlices * getTimsDiaSlicesPtr() const
TimsFrameCstSPtr getTimsFrameCstSPtr(std::size_t timsId)
get a Tims frame with his database ID
TimsDdaPrecursors * mpa_timsDdaPrecursors
const std::vector< TimsFrameRecord > & getTimsFrameRecordList() const
std::vector< FrameIdDescr > m_frameIdDescrList
store every frame id and corresponding sizes
TimsFrameCstSPtr getTimsFrameCstSPtrCached(std::size_t timsId)
get a Tims frame with his database ID but look in the cache first
pappso::MassSpectrumCstSPtr getMassSpectrumCstSPtrByRawIndex(std::size_t raw_index)
get a mass spectrum given its spectrum index
TimsDataFastMap & getScanByGlobalScanIndex(std::size_t index)
const std::vector< FrameIdDescr > & getFrameIdDescrList() const
std::size_t getTotalNumberOfFrames() const
Get total number of frames.
std::vector< std::size_t > getTimsMS1FrameIdsInRtRange(double rt_begin, double rt_end) const
pappso::MassSpectrumCstSPtr getMassSpectrumCstSPtr(std::size_t timsId, std::size_t scanNum)
get a mass spectrum given the tims frame database id and scan number within tims frame
TimsBinDec * getTimsBinDecPtr() const
TimsData(QDir timsDataDirectory)
build using the tims data directory
void getQualifiedMassSpectrumByRawIndex(const MsRunIdCstSPtr &msrun_id, QualifiedMassSpectrum &mass_spectrum, std::size_t global_scan_index, bool want_binary_data)
std::vector< std::size_t > getTimsMS2FrameIdsInRtRange(double rt_begin, double rt_end) const
Trace getTicChromatogram() const
TimsFrameBaseCstSPtr getTimsFrameBaseCstSPtrCached(std::size_t timsId)
void getQualifiedMassSpectrumByGlobalScanIndex(const MsRunIdCstSPtr &msrun_id, QualifiedMassSpectrum &mass_spectrum, std::size_t global_scan_index, bool want_binary_data)
std::deque< TimsFrameCstSPtr > m_timsFrameCache
std::pair< std::size_t, std::size_t > getScanCoordinateFromRawIndex(std::size_t spectrum_index) const
std::vector< TimsFrameRecord > m_mapFramesRecord
unsigned int getMsLevelBySpectrumIndex(std::size_t index)
std::size_t m_totalScanCount
std::map< int, QSqlRecord > m_mapMzCalibrationRecord
std::map< int, QSqlRecord > m_mapTimsCalibrationRecord
std::map< QString, QVariant > m_mapGlobalMetadaTable
void fillFrameIdDescrList()
private function to fill m_frameIdDescrList
TimsFrameBaseCstSPtr getTimsFrameBaseCstSPtr(std::size_t timsId)
get a Tims frame base (no binary data file access) with his database ID
std::vector< std::size_t > m_someoneIsLoadingFrameId
tells if someone is loading a frame id
unsigned int getMsLevelByGlobalScanIndex(std::size_t index)
MzCalibrationStore * mpa_mzCalibrationStore
pappso::MassSpectrumCstSPtr getMassSpectrumCstSPtrByGlobalScanIndex(std::size_t index)
virtual std::vector< double > getRetentionTimeLineInSeconds() const
virtual std::vector< double > getRetentionTimeLine() const
retention timeline get retention times along the MSrun in seconds
const QDir & getTimsDataDirectory() const
TimsDataFastMap & getRawMsBySpectrumIndex(std::size_t index)
get raw signal for a spectrum index only to use to see the raw signal
std::size_t getFrameCount() const
bool isDiaRun() const
tells if this MS run is a DIA run
std::deque< TimsFrameBaseCstSPtr > m_timsFrameBaseCache
std::map< std::size_t, std::size_t > m_thousandIndexToFrameIdDescrListIndex
index to find quickly a frameId in the description list with the raw index of spectrum modulo 1000 @k...
TimsBinDec * mpa_timsBinDec
bool isDdaRun() const
tells if this MS run is a DDA run
std::size_t getTotalNumberOfScans() const
get the total number of scans
TimsDdaPrecursors * getTimsDdaPrecursorsPtr() const
TimsDiaSlices * mpa_timsDiaSlices
std::size_t getRawIndexFromCoordinate(std::size_t frame_id, std::size_t scan_num) const
std::pair< std::size_t, std::size_t > getScanCoordinatesByGlobalScanIndex(std::size_t index) const
const QVariant & getGlobalMetadataValue(const QString &key) const
A simple container of DataPoint instances.
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
std::shared_ptr< const TimsFrameBase > TimsFrameBaseCstSPtr
std::shared_ptr< const MsRunId > MsRunIdCstSPtr
std::shared_ptr< TimsData > TimsDataSp
shared pointer on a TimsData object
std::shared_ptr< const MassSpectrum > MassSpectrumCstSPtr
std::shared_ptr< const TimsFrame > TimsFrameCstSPtr
std::size_t m_globalScanIndex