|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectPamguardMVC.PamProcess
IshmaelDetector.IshDetFnProcess
public abstract class IshDetFnProcess
This is the abstract superclass for all the "Ishmael detectors", i.e., the detection PamProcesses that use a detection function and threshold in the course of doing making detections. Currently this means it is the superclass of EnergySumProcess, SgramCorrProcess, and MatchFiltProcess.
| Field Summary | |
|---|---|
(package private) int |
channel
|
(package private) IshDetControl |
ishDetControl
|
(package private) PamDataBlock |
outputDataBlock
|
| Fields inherited from class PamguardMVC.PamProcess |
|---|
outputDataBlocks, processName, sampleRate |
| Constructor Summary | |
|---|---|
IshDetFnProcess(IshDetControl ishDetControl,
PamDataBlock parentDataBlock)
Initializer. |
|
| Method Summary | |
|---|---|
int |
getChannelMap()
|
abstract float |
getDetSampleRate()
|
abstract float |
getHiFreq()
|
PamDataBlock |
getInputDataBlock()
An IshDetFnProcess has one input stream. |
abstract float |
getLoFreq()
|
abstract java.lang.String |
getLongName()
|
IshDetFnDataUnit |
getOutputDataUnit(AcousticDataUnit rawOrFftDataUnit)
Get a new IshDetDataUnit suitable for holding output data. |
abstract java.lang.Class |
inputDataClass()
|
void |
pamStart()
Called for each process to tell it to start (may not be necessary for processes which are listening for data anyway. |
void |
pamStop()
Stops the process. |
protected void |
prepareMyParams()
|
void |
prepareProcess()
Get a new IshDetDataUnit suitable for holding output data. |
void |
setSampleRate(float sampleRate,
boolean notify)
This is called when the sample rate changes. |
void |
setupConnections()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
IshDetControl ishDetControl
PamDataBlock outputDataBlock
int channel
| Constructor Detail |
|---|
public IshDetFnProcess(IshDetControl ishDetControl,
PamDataBlock parentDataBlock)
IMPORTANT: The subclass initializer should construct the ishDetParams before calling this.
ishDetControl - -- e.g., an EnergySumControl, SgramCorrControl, etc.parentDataBlock - -- an FFTDataBlock or RawDataBlock| Method Detail |
|---|
public abstract java.lang.String getLongName()
public abstract java.lang.Class inputDataClass()
public int getChannelMap()
public PamDataBlock getInputDataBlock()
public void setSampleRate(float sampleRate,
boolean notify)
setSampleRate in interface PamObserversetSampleRate in class PamProcessnotify - Notify other PamObservers and PamObservables in the chain.public void setupConnections()
public IshDetFnDataUnit getOutputDataUnit(AcousticDataUnit rawOrFftDataUnit)
rawOrFftDataUnit - input to the detector process (EnergySumProcess, etc.).
public void prepareProcess()
prepareProcess in class PamProcessrawDataUnit - input to the detector process (MatchFiltProcess, etc.).protected void prepareMyParams()
public void pamStart()
PamProcess
pamStart in class PamProcesspublic void pamStop()
PamProcess
pamStop in class PamProcesspublic abstract float getDetSampleRate()
public abstract float getLoFreq()
public abstract float getHiFreq()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||