public interface IScan extends Serializable
| Modifier and Type | Method and Description |
|---|---|
ISpectrum |
fetchSpectrum()
Get the spectrum, possibly preloading it from disk.
|
Double |
getBasePeakIntensity() |
Double |
getBasePeakMz() |
List<Integer> |
getChildScans() |
InjectionInfo |
getInjectionInfo() |
Instrument |
getInstrument() |
Integer |
getMsLevel() |
int |
getNum()
Returns the internal scan number, which sometimes coincides with original scan numbers from raw
mass-spec files.
|
Polarity |
getPolarity() |
PrecursorInfo |
getPrecursor() |
Double |
getRt() |
IScanCollection |
getScanCollection() |
Double |
getScanMzWindowLower() |
Double |
getScanMzWindowUpper() |
ScanType |
getScanType() |
ISpectrum |
getSpectrum()
Get the spectrum, not trying to loead it from disk, if it wasn't parsed.
|
StorageStrategy |
getStorageStrategy() |
Double |
getTic() |
Boolean |
isCentroided() |
void |
setBasePeakIntensity(Double basePeakIntensity) |
void |
setBasePeakMz(Double basePeakMz) |
void |
setCentroided(Boolean centroided) |
void |
setChildScans(List<Integer> childScans) |
void |
setInjectionInfo(InjectionInfo injectionInfo) |
void |
setInstrument(Instrument instrument) |
void |
setMsLevel(Integer msLevel) |
void |
setPolarity(Polarity polarity) |
void |
setPrecursor(PrecursorInfo precursor) |
void |
setRt(Double rt) |
void |
setScanCollection(IScanCollection scans) |
void |
setScanMzWindowLower(Double scanMzWindowLower) |
void |
setScanMzWindowUpper(Double scanMzWindowUpper) |
void |
setScanType(ScanType scanType) |
void |
setSpectrum(ISpectrum spectrum,
boolean forceOverrideMinMaxSumVals)
Set the spectrumRef for this scan.
|
void |
setStorageStrategy(StorageStrategy strategy)
Implementors of IScan interface must respect the value of reftype in constructors and
setSpectrum(umich.ms.datatypes.spectrum.ISpectrum, boolean) implementations in order for
memory management to work. |
void |
setTic(Double tic) |
int getNum()
IScanCollection getScanCollection()
void setScanCollection(IScanCollection scans)
Double getRt()
void setRt(Double rt)
Integer getMsLevel()
void setMsLevel(Integer msLevel)
Boolean isCentroided()
Polarity getPolarity()
void setPolarity(Polarity polarity)
ScanType getScanType()
void setScanType(ScanType scanType)
PrecursorInfo getPrecursor()
void setPrecursor(PrecursorInfo precursor)
Instrument getInstrument()
void setInstrument(Instrument instrument)
InjectionInfo getInjectionInfo()
void setInjectionInfo(InjectionInfo injectionInfo)
Double getBasePeakIntensity()
void setBasePeakIntensity(Double basePeakIntensity)
Double getBasePeakMz()
void setBasePeakMz(Double basePeakMz)
Double getTic()
void setTic(Double tic)
Double getScanMzWindowLower()
void setScanMzWindowLower(Double scanMzWindowLower)
Double getScanMzWindowUpper()
void setScanMzWindowUpper(Double scanMzWindowUpper)
ISpectrum getSpectrum()
IScanCollection.isAutoloadSpectra()ISpectrum fetchSpectrum() throws FileParsingException
IScanCollection.addScan(IScan)
and the scan collection was set to auto-load spectra (IScanCollection.isAutoloadSpectra(boolean))FileParsingExceptionStorageStrategy getStorageStrategy()
void setStorageStrategy(StorageStrategy strategy)
setSpectrum(umich.ms.datatypes.spectrum.ISpectrum, boolean) implementations in order for
memory management to work.void setCentroided(Boolean centroided)
void setSpectrum(ISpectrum spectrum, boolean forceOverrideMinMaxSumVals)
spectrum - the new spectrumRef to set. Can be null, to release the memory, in which case
forceOverrideMinMaxSumVals must be false.forceOverrideMinMaxSumVals - when true, will override any min/max/sum intensity fields
previously set on this scan by using values from the spectrumRef. Must be set to false if
spectrumRef is null.Copyright © 2017–2018. All rights reserved.