public class DefaultPrecursorComputer extends Object implements IPrecursorComputation
| Modifier | Constructor and Description |
|---|---|
protected |
DefaultPrecursorComputer(float mzTolPPM) |
|
DefaultPrecursorComputer(PrecursorMzComputationEnum precComp,
float mzTolPPM) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
extractPrecMz(MzDbReader mzDbReader,
Precursor precursor,
double precMz,
SpectrumHeader spectrumHeader,
float timeTol)
Detects isotopic pattern in the survey and return the most probable mono-isotopic m/z value
|
String |
getParamName() |
int |
getPrecursorCharge(MzDbReader mzDbReader,
SpectrumHeader spectrumHeader)
Returns the precursor m/z value of the specified SpectrumHeader.
|
double |
getPrecursorMz(MzDbReader mzDbReader,
SpectrumHeader spectrumHeader)
Returns the precursor m/z value of the specified SpectrumHeader.
|
protected Double |
refinePrecMz(MzDbReader mzDbReader,
Precursor precursor,
double precMz,
double mzTolPPM,
float time,
float timeTol)
Refines the provided target m/z value by looking at the nearest value in the survey.
|
protected DefaultPrecursorComputer(float mzTolPPM)
public DefaultPrecursorComputer(PrecursorMzComputationEnum precComp, float mzTolPPM)
public String getParamName()
getParamName in interface IPrecursorComputationpublic int getPrecursorCharge(MzDbReader mzDbReader, SpectrumHeader spectrumHeader) throws com.almworks.sqlite4java.SQLiteException
IPrecursorComputationgetPrecursorCharge in interface IPrecursorComputationcom.almworks.sqlite4java.SQLiteExceptionpublic double getPrecursorMz(MzDbReader mzDbReader, SpectrumHeader spectrumHeader) throws com.almworks.sqlite4java.SQLiteException
IPrecursorComputationgetPrecursorMz in interface IPrecursorComputationcom.almworks.sqlite4java.SQLiteExceptionprotected double extractPrecMz(MzDbReader mzDbReader, Precursor precursor, double precMz, SpectrumHeader spectrumHeader, float timeTol) throws StreamCorruptedException, com.almworks.sqlite4java.SQLiteException
centerMz - the m/z value at the center of the isolation windowcom.almworks.sqlite4java.SQLiteExceptionStreamCorruptedExceptionprotected Double refinePrecMz(MzDbReader mzDbReader, Precursor precursor, double precMz, double mzTolPPM, float time, float timeTol) throws StreamCorruptedException, com.almworks.sqlite4java.SQLiteException
precMz - the precursor m/z value to refinecom.almworks.sqlite4java.SQLiteExceptionStreamCorruptedExceptionCopyright © 2019. All rights reserved.