public class ScanDefault extends AbstractScan
StorageStrategy set to
StorageStrategy.STRONG, it's up to the client to reset this to anything else.
Author: Dmitry Avtonomov (dmitriya)| Modifier and Type | Field and Description |
|---|---|
protected Reference<ISpectrum> |
spectrumRef |
basePeakIntensity, basePeakMz, childScans, FMT_DOUBLE_2_DIGITS_AFTER_DOT, injectionInfo, instrument, isCentroided, msLevel, num, polarity, precursor, rt, scanMzWindowLower, scanMzWindowUpper, scans, scanType, storageStrategy, tic| Constructor and Description |
|---|
ScanDefault(int num) |
ScanDefault(int num,
double rt,
int msLevel,
boolean isCentroided) |
ScanDefault(IScanCollection scans,
int num) |
ScanDefault(IScanCollection scans,
int num,
double rt,
int msLevel,
boolean isCentroided) |
| Modifier and Type | Method and Description |
|---|---|
ISpectrum |
fetchSpectrum()
Get the spectrum, possibly preloading it from disk.
|
Double |
getRt() |
IScanCollection |
getScans() |
ISpectrum |
getSpectrum()
Get the spectrum, not trying to loead it from disk, if it wasn't parsed.
|
Reference<ISpectrum> |
getSpectrumRef() |
void |
setScans(IScanCollection scans) |
protected void |
setSpectrumImpl(ISpectrum spectrum)
The implementation of
IScan.setSpectrum(umich.ms.datatypes.spectrum.ISpectrum, boolean)
in this base class will set all the Scan-level variables for you according to the
spectrumRef provided, but you need to define how to store the spectrumRef itself. |
getBasePeakIntensity, getBasePeakMz, getCentroided, getChildScans, getInjectionInfo, getInstrument, getMsLevel, getNum, getPolarity, getPrecursor, getScanCollection, getScanMzWindowLower, getScanMzWindowUpper, getScanType, getStorageStrategy, getTic, isCentroided, setBasePeakIntensity, setBasePeakMz, setCentroided, setChildScans, setInjectionInfo, setInstrument, setMsLevel, setPolarity, setPrecursor, setRt, setScanCollection, setScanMzWindowLower, setScanMzWindowUpper, setScanType, setSpectrum, setSpectrum, setStorageStrategy, setTic, toStringpublic ScanDefault(int num)
public ScanDefault(IScanCollection scans, int num)
public ScanDefault(int num,
double rt,
int msLevel,
boolean isCentroided)
public ScanDefault(IScanCollection scans, int num, double rt, int msLevel, boolean isCentroided)
public Double getRt()
getRt in interface IScangetRt in class AbstractScanpublic IScanCollection getScans()
public void setScans(IScanCollection scans)
public ISpectrum getSpectrum()
IScanIScanCollection.isAutoloadSpectra()public ISpectrum fetchSpectrum() throws FileParsingException
IScanIScanCollection.addScan(IScan) and the scan collection was set to
auto-load spectra (IScanCollection.isAutoloadSpectra(boolean))FileParsingExceptionprotected void setSpectrumImpl(ISpectrum spectrum)
AbstractScanIScan.setSpectrum(umich.ms.datatypes.spectrum.ISpectrum, boolean)
in this base class will set all the Scan-level variables for you according to the
spectrumRef provided, but you need to define how to store the spectrumRef itself.setSpectrumImpl in class AbstractScanCopyright © 2017. All rights reserved.