org.fhcrc.cpl.viewer.feature.extraction.strategy
Class BaseFeatureStrategyModular
java.lang.Object
org.fhcrc.cpl.viewer.feature.extraction.strategy.BaseFeatureStrategy
org.fhcrc.cpl.viewer.feature.extraction.strategy.FeatureStrategyWindow
org.fhcrc.cpl.viewer.feature.extraction.strategy.BaseFeatureStrategyModular
- All Implemented Interfaces:
- FeatureStrategy
- Direct Known Subclasses:
- FeatureStrategyPeakClusters, FeatureStrategySmallMolecule
public class BaseFeatureStrategyModular
- extends FeatureStrategyWindow
Base class for a modular feature strategy that contains well-defined components
| Fields inherited from class org.fhcrc.cpl.viewer.feature.extraction.strategy.BaseFeatureStrategy |
_dumpWindowSize, _endScan, _keepStatistics, _maxCharge, _mzRange, _run, _scanCount, _sn, _startScan, _status, timerResample |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WINDOW_MARGIN
protected static final int WINDOW_MARGIN
- See Also:
- Constant Field Values
timerAnalyze
protected CPUTimer timerAnalyze
timerExtractPeaks
protected CPUTimer timerExtractPeaks
timerExtractPeptides
protected CPUTimer timerExtractPeptides
_resamplingFrequency
protected static int _resamplingFrequency
peakExtractor
protected PeakExtractor peakExtractor
peakCombiner
protected PeakCombiner peakCombiner
peakRidgeWalkSmoothed
protected boolean peakRidgeWalkSmoothed
BaseFeatureStrategyModular
public BaseFeatureStrategyModular()
findPeptidesIn2DWindow
protected java.util.Collection<Feature> findPeptidesIn2DWindow(float[][] spectra,
Scan[] scans)
throws java.lang.InterruptedException
- THIS IS THE MAIN FEATURE FINDING ROUTINE
Structure:
Extract peaks -- wavelet decomposition,
FeatureStrategyUsingWindow.ExtractPeptideFeatures(), to tie features together
Change scan numbers, which are currently indexes, to the actual scan numbers
If centroided, call AccurateMassCentroid() to fix mass
- Specified by:
findPeptidesIn2DWindow in class FeatureStrategyWindow
- Returns:
-
- Throws:
java.lang.InterruptedException
getPeakExtractor
public PeakExtractor getPeakExtractor()
setPeakExtractor
public void setPeakExtractor(PeakExtractor peakExtractor)
getPeakCombiner
public PeakCombiner getPeakCombiner()
setPeakCombiner
public void setPeakCombiner(PeakCombiner peakCombiner)
isPeakRidgeWalkSmoothed
public boolean isPeakRidgeWalkSmoothed()
setPeakRidgeWalkSmoothed
public void setPeakRidgeWalkSmoothed(boolean peakRidgeWalkSmoothed)
Fred Hutchinson Cancer Research Center