public class SpectrumHeaderReader extends AbstractSpectrumHeaderReader
TIME_INDEX_WIDTH| Constructor and Description |
|---|
SpectrumHeaderReader(MzDbReader mzDbReader,
AbstractDataEncodingReader dataEncodingReader) |
| Modifier and Type | Method and Description |
|---|---|
Map<Long,SpectrumHeader> |
getMs1SpectrumHeaderById()
Gets the MS1 spectrum header by id.
|
SpectrumHeader[] |
getMs1SpectrumHeaders()
Gets the MS1 spectrum headers.
|
Map<Long,SpectrumHeader> |
getMs2SpectrumHeaderById()
Gets the MS2 spectrum header by id.
|
SpectrumHeader[] |
getMs2SpectrumHeaders()
Gets the MS2 spectrum headers.
|
MzDbReader |
getMzDbReader()
specialized getter
|
SpectrumHeader |
getSpectrumHeader(long id)
/**
Gets the spectrum header.
|
Map<Long,SpectrumHeader> |
getSpectrumHeaderById()
Gets the spectrum headers by id.
|
SpectrumHeader |
getSpectrumHeaderForTime(float time,
int msLevel)
Gets the spectrum header for time.
|
SpectrumHeader[] |
getSpectrumHeaders()
Gets the spectrum headers.
|
long[] |
getSpectrumIdsForTimeRange(float minRT,
float maxRT,
int msLevel)
Gets the spectrum ids for time range.
|
Map<Long,Float> |
getSpectrumTimeById()
Gets the spectrum time by id.
|
getMs1SpectrumHeaderById, getMs1SpectrumHeaders, getMs2SpectrumHeaderById, getMs2SpectrumHeaders, getMs3SpectrumHeaderById, getMs3SpectrumHeaders, getSpectrumHeader, getSpectrumHeaderById, getSpectrumHeaderForTime, getSpectrumHeaders, getSpectrumIdsForTimeRange, getSpectrumTimeByIdgetEntityCachepublic SpectrumHeaderReader(MzDbReader mzDbReader, AbstractDataEncodingReader dataEncodingReader) throws com.almworks.sqlite4java.SQLiteException
mzDbReader - com.almworks.sqlite4java.SQLiteExceptionpublic MzDbReader getMzDbReader()
getMzDbReader in class MzDbEntityCacheContainerpublic SpectrumHeader[] getSpectrumHeaders() throws com.almworks.sqlite4java.SQLiteException
com.almworks.sqlite4java.SQLiteExceptionpublic Map<Long,SpectrumHeader> getSpectrumHeaderById() throws com.almworks.sqlite4java.SQLiteException
com.almworks.sqlite4java.SQLiteExceptionpublic SpectrumHeader[] getMs1SpectrumHeaders() throws com.almworks.sqlite4java.SQLiteException
com.almworks.sqlite4java.SQLiteExceptionpublic Map<Long,SpectrumHeader> getMs1SpectrumHeaderById() throws com.almworks.sqlite4java.SQLiteException
com.almworks.sqlite4java.SQLiteExceptionpublic SpectrumHeader[] getMs2SpectrumHeaders() throws com.almworks.sqlite4java.SQLiteException
com.almworks.sqlite4java.SQLiteExceptionpublic Map<Long,SpectrumHeader> getMs2SpectrumHeaderById() throws com.almworks.sqlite4java.SQLiteException
com.almworks.sqlite4java.SQLiteExceptionpublic SpectrumHeader getSpectrumHeader(long id) throws com.almworks.sqlite4java.SQLiteException
id - the idcom.almworks.sqlite4java.SQLiteExceptionpublic Map<Long,Float> getSpectrumTimeById() throws com.almworks.sqlite4java.SQLiteException
com.almworks.sqlite4java.SQLiteException - the SQLite exceptionpublic SpectrumHeader getSpectrumHeaderForTime(float time, int msLevel) throws Exception
time - the timemsLevel - the ms levelExceptionpublic long[] getSpectrumIdsForTimeRange(float minRT,
float maxRT,
int msLevel)
throws com.almworks.sqlite4java.SQLiteException
minRT - the min rtmaxRT - the max rtmsLevel - the ms levelcom.almworks.sqlite4java.SQLiteExceptionCopyright © 2019. All rights reserved.