|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.fhcrc.cpl.viewer.feature.FeatureExtractor
public abstract class FeatureExtractor
User: mbellew Date: Sep 7, 2004 Time: 12:08:54 PM
| Nested Class Summary | |
|---|---|
static interface |
FeatureExtractor.StatusListener
|
| Field Summary | |
|---|---|
protected int |
_dumpWindowSize
|
protected int |
_maxCharge
|
protected FloatRange |
_mzRange
|
protected MSRun |
_run
|
protected int |
_scanCount
|
protected double |
_sn
|
protected int |
_startScan
|
protected FeatureExtractor.StatusListener |
_status
|
static java.lang.String |
DEFAULT_EXTRACTOR_PROPERTYNAME
|
static int |
TYPE_1D
|
static int |
TYPE_2D
|
| Constructor Summary | |
|---|---|
protected |
FeatureExtractor(MSRun run,
int startScan,
int scanCount,
int maxCharge,
FloatRange mzRange,
double sn)
|
| Method Summary | |
|---|---|
protected abstract Feature[] |
_analyze()
|
protected static void |
_logDebug(java.lang.String s)
|
FeatureSet |
analyze()
|
protected java.util.Collection<Feature> |
analyze1D(Scan scan)
|
protected java.util.Collection<Feature> |
analyze2D(Scan[] scans)
|
protected Feature[] |
analyzeScanAtATime(Scan[] scans)
Helper function for one scan at a time analyzer (TYPE_1D) |
protected Feature[] |
analyzeWindow(Scan[] scans,
int windowWidth,
int windowMargin)
Helper function for window analyzer (TYPE_2D) |
protected float[][] |
CombineScans(Scan[] scans,
FloatRange range,
int resample_freq)
|
protected int |
getAccurateMassAdjustmentScans()
|
static FeatureExtractor |
getDefault(MSRun run,
int scan,
int count,
int maxCharge,
FloatRange range,
double sn)
Instantiate the default FeatureExtractor |
static java.lang.Class |
getDefaultClass()
|
protected int |
getDumpWindowSize()
|
static FloatRange |
getMzExtractionRange(MSRun.MSScan scan)
Return the mz range for the given scan. |
static FloatRange |
getMzExtractionRange(MSRun run)
Return the mz range for the given run. |
protected Scan[] |
getScans(MSRun run,
int start,
int count)
|
int |
getType()
|
void |
setAccurateMassAdjustmentScans(int accurateMassAdjustmentScans)
|
static void |
setDefault(java.lang.Class c)
|
void |
setDumpWindowSize(int dumpWindowSize)
|
void |
setStatusListener(FeatureExtractor.StatusListener status)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_EXTRACTOR_PROPERTYNAME
public static final int TYPE_1D
public static final int TYPE_2D
protected MSRun _run
protected int _maxCharge
protected FloatRange _mzRange
protected double _sn
protected FeatureExtractor.StatusListener _status
protected int _startScan
protected int _scanCount
protected int _dumpWindowSize
| Constructor Detail |
|---|
protected FeatureExtractor(MSRun run,
int startScan,
int scanCount,
int maxCharge,
FloatRange mzRange,
double sn)
| Method Detail |
|---|
public static void setDefault(java.lang.Class c)
public static java.lang.Class getDefaultClass()
public static FeatureExtractor getDefault(MSRun run,
int scan,
int count,
int maxCharge,
FloatRange range,
double sn)
run - scan - count - maxCharge - range - sn -
public static FloatRange getMzExtractionRange(MSRun.MSScan scan)
public static FloatRange getMzExtractionRange(MSRun run)
public void setStatusListener(FeatureExtractor.StatusListener status)
public void setDumpWindowSize(int dumpWindowSize)
protected int getDumpWindowSize()
public void setAccurateMassAdjustmentScans(int accurateMassAdjustmentScans)
protected int getAccurateMassAdjustmentScans()
protected Scan[] getScans(MSRun run,
int start,
int count)
protected float[][] CombineScans(Scan[] scans,
FloatRange range,
int resample_freq)
protected Feature[] analyzeScanAtATime(Scan[] scans)
throws java.lang.InterruptedException
scans -
java.lang.InterruptedException
protected Feature[] analyzeWindow(Scan[] scans,
int windowWidth,
int windowMargin)
throws java.lang.InterruptedException
scans -
java.lang.InterruptedException
protected java.util.Collection<Feature> analyze1D(Scan scan)
throws java.lang.InterruptedException
java.lang.InterruptedException
protected java.util.Collection<Feature> analyze2D(Scan[] scans)
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic int getType()
protected static void _logDebug(java.lang.String s)
protected abstract Feature[] _analyze()
throws java.lang.InterruptedException
java.lang.InterruptedException
public FeatureSet analyze()
throws java.lang.InterruptedException
java.lang.InterruptedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||