|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.fhcrc.cpl.viewer.feature.extraction.AccurateMassAdjuster
public class AccurateMassAdjuster
For adjusting the masses of features found in a resampled space, to take advantage of the higher mass accuracy to be found in the unresampled space
| Field Summary | |
|---|---|
protected int |
_resamplingFrequency
|
protected int |
_scanWindowSize
|
static int |
DEFAULT_RESAMPLING_FREQUENCY
|
static int |
DEFAULT_SCAN_WINDOW_SIZE
|
| Constructor Summary | |
|---|---|
AccurateMassAdjuster()
|
|
| Method Summary | |
|---|---|
void |
adjustAllMasses(MSRun run,
Feature[] features)
|
float |
calculateAccurateMass(MSRun run,
Feature f)
Switch on whether the run is in centroid mode and do the appropriate thing |
float |
calculateAccurateMassCentroid(MSRun run,
Feature f)
|
float |
calculateAccurateMassProfile(MSRun run,
Feature f)
adjustment of profile-mode mass; average results from some number of adjacent scans |
protected float |
calculateAccurateMassProfileCenter(org.fhcrc.cpl.toolbox.proteomics.Scan scan,
Feature f)
adjustment of profile-mode mass using center of mass |
protected float |
calculateAccurateMassProfileMax(org.fhcrc.cpl.toolbox.proteomics.Scan scan,
Feature f)
adjustment of profile-mode mass using max peak |
int |
getResamplingFrequency()
|
int |
getScanWindowSize()
|
void |
setResamplingFrequency(int resamplingFrequency)
|
void |
setScanWindowSize(int scanWindowSize)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_RESAMPLING_FREQUENCY
public static final int DEFAULT_SCAN_WINDOW_SIZE
protected int _resamplingFrequency
protected int _scanWindowSize
| Constructor Detail |
|---|
public AccurateMassAdjuster()
| Method Detail |
|---|
public void adjustAllMasses(MSRun run,
Feature[] features)
throws java.lang.InterruptedException
java.lang.InterruptedException
public float calculateAccurateMass(MSRun run,
Feature f)
run - f -
public float calculateAccurateMassCentroid(MSRun run,
Feature f)
public float calculateAccurateMassProfile(MSRun run,
Feature f)
protected float calculateAccurateMassProfileMax(org.fhcrc.cpl.toolbox.proteomics.Scan scan,
Feature f)
protected float calculateAccurateMassProfileCenter(org.fhcrc.cpl.toolbox.proteomics.Scan scan,
Feature f)
scan - f -
public int getResamplingFrequency()
public void setResamplingFrequency(int resamplingFrequency)
public int getScanWindowSize()
public void setScanWindowSize(int scanWindowSize)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||