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 IPrecursorComputation
public int getPrecursorCharge(MzDbReader mzDbReader, SpectrumHeader spectrumHeader) throws com.almworks.sqlite4java.SQLiteException
IPrecursorComputation
getPrecursorCharge
in interface IPrecursorComputation
com.almworks.sqlite4java.SQLiteException
public double getPrecursorMz(MzDbReader mzDbReader, SpectrumHeader spectrumHeader) throws com.almworks.sqlite4java.SQLiteException
IPrecursorComputation
getPrecursorMz
in interface IPrecursorComputation
com.almworks.sqlite4java.SQLiteException
protected 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.SQLiteException
StreamCorruptedException
protected 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.SQLiteException
StreamCorruptedException
Copyright © 2019. All rights reserved.