public class SimpleMsScan extends AbstractMsSpectrum implements MsScan
Constructor and Description |
---|
SimpleMsScan(Integer scanNumber)
Constructor for SimpleMsScan.
|
SimpleMsScan(Integer scanNumber,
String msFunction)
Constructor for SimpleMsScan.
|
Modifier and Type | Method and Description |
---|---|
List<IsolationInfo> |
getIsolations()
Returns a list of isolations performed for this scan.
|
String |
getMsFunction()
Returns the MS function of this scan, e.g.
|
Integer |
getMsLevel()
Returns MS level (1 = default, 2 = MS/MS, 3 = MS3 etc.).
|
MsScanType |
getMsScanType()
Returns the type of the MS scan.
|
MzTolerance |
getMzTolerance()
Returns an object that implements the MzTolerance interface.
|
PolarityType |
getPolarity()
Returns the polarity of this scan.
|
RawDataFile |
getRawDataFile()
Returns the raw data file that contains this scan.
|
Float |
getRetentionTime()
Returns the retention time in seconds
|
String |
getScanDefinition()
Returns the instrument-specific textual definition of the scan parameters.
|
com.google.common.collect.Range<Double> |
getScanningRange()
Returns the scanning range of the instrument.
|
Integer |
getScanNumber()
Returns the number of this scan, represented by an integer, typically positive.
|
ActivationInfo |
getSourceInducedFragmentation()
Returns the fragmentation parameters of ion source-induced fragmentation, or null if no such
information is known.
|
void |
setMsFunction(String newFunction) |
void |
setMsLevel(Integer msLevel) |
void |
setMsScanType(MsScanType newMsScanType) |
void |
setMzTolerance(MzTolerance mzTolerance)
Setter for the field
mzTolerance . |
void |
setPolarity(PolarityType newPolarity) |
void |
setRawDataFile(RawDataFile newRawDataFile) |
void |
setRetentionTime(Float rt) |
void |
setScanDefinition(String scanDefinition) |
void |
setScanningRange(com.google.common.collect.Range<Double> newScanRange) |
void |
setScanNumber(Integer scanNumber) |
void |
setSourceInducedFragmentation(ActivationInfo newFragmentationInfo) |
getIntensityValues, getMzRange, getMzValues, getNumberOfDataPoints, getSpectrumType, getTIC, setDataPoints, setSpectrumType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIntensityValues, getIntensityValues, getMzRange, getMzValues, getMzValues, getNumberOfDataPoints, getSpectrumType, getTIC
public SimpleMsScan(@Nonnull Integer scanNumber)
Constructor for SimpleMsScan.
scanNumber
- a Integer
object.@Nullable public RawDataFile getRawDataFile()
getRawDataFile
in interface MsScan
RawDataFile
public void setRawDataFile(@Nonnull RawDataFile newRawDataFile)
newRawDataFile
- a RawDataFile
object.@Nonnull public Integer getScanNumber()
getScanNumber
in interface MsScan
public void setScanNumber(@Nonnull Integer scanNumber)
scanNumber
- a Integer
object.@Nullable public String getScanDefinition()
getScanDefinition
in interface MsScan
public void setScanDefinition(@Nullable String scanDefinition)
scanDefinition
- a String
object.@Nullable public String getMsFunction()
getMsFunction
in interface MsScan
public void setMsFunction(@Nullable String newFunction)
newFunction
- a io.github.msdk.datamodel.rawdata.MsFunction
object.@Nullable public Integer getMsLevel()
getMsLevel
in interface MsScan
@Nullable public com.google.common.collect.Range<Double> getScanningRange()
getScanningRange
in interface MsScan
public void setScanningRange(@Nullable com.google.common.collect.Range<Double> newScanRange)
newScanRange
- a Range
object.@Nonnull public PolarityType getPolarity()
getPolarity
in interface MsScan
public void setPolarity(@Nonnull PolarityType newPolarity)
newPolarity
- a PolarityType
object.@Nonnull public MsScanType getMsScanType()
getMsScanType
in interface MsScan
public void setMsScanType(@Nonnull MsScanType newMsScanType)
newMsScanType
- a MsScanType
object.public MzTolerance getMzTolerance()
getMzTolerance
in interface MsSpectrum
getMzTolerance
in class AbstractMsSpectrum
public void setMzTolerance(MzTolerance mzTolerance)
Setter for the field mzTolerance
.
Setter for the field mzTolerance
.
setMzTolerance
in class AbstractMsSpectrum
mzTolerance
- a MzTolerance
object.@Nullable public Float getRetentionTime()
getRetentionTime
in interface MsScan
@Nullable public ActivationInfo getSourceInducedFragmentation()
getSourceInducedFragmentation
in interface MsScan
public void setSourceInducedFragmentation(@Nullable ActivationInfo newFragmentationInfo)
newFragmentationInfo
- a ActivationInfo
object.@Nonnull public List<IsolationInfo> getIsolations()
getIsolations
in interface MsScan
Copyright © 2019. All rights reserved.