public class SweepClassifier extends java.lang.Object implements ClickIdentifier, PamSettings
Constructor and Description |
---|
SweepClassifier(ClickControl clickControl) |
Modifier and Type | Method and Description |
---|---|
boolean |
codeDuplicated(SweepClassifierSet sweepClassifierSet,
int ignoreRow) |
int |
codeToListIndex(int code) |
boolean |
fillXMLParamaeters(org.w3c.dom.Document doc,
org.w3c.dom.Element classEl) |
ClickDetector |
getClickDetector() |
double |
getClickLength(ClickDetection click)
Returns the click length, using the times returned by the
SweepClassifierWorker method getLengthData.
|
int[] |
getCodeList()
Returns a list of the currently-defined click types / species codes
|
ClickTypeCommonParams |
getCommonParams(int code)
Return the superclass of the click type parameters class - currently used for
accessing the alarm functions.
|
ClassifyDialogPanel |
getDialogPanel(java.awt.Frame windowFrame) |
javax.swing.JMenuItem |
getMenuItem(java.awt.Frame parentFrame) |
java.lang.String |
getParamsInfo(ClickDetection click) |
double[] |
getPeakSearchRange(ClickDetection click)
Returns the frequency search range defined for peak frequency testing
2014/08/03 MO
|
java.io.Serializable |
getSettingsReference() |
long |
getSettingsVersion() |
java.lang.String[] |
getSpeciesList() |
java.lang.String |
getSpeciesName(int code) |
PamSymbol |
getSymbol(ClickDetection click) |
PamSymbol[] |
getSymbols() |
java.lang.String |
getUnitName() |
java.lang.String |
getUnitType() |
ZeroCrossingStats[] |
getZeroCrossingStats(ClickDetection click)
Returns the zeroCrossingStats variable, used as an identifier in the Rocca interface.
|
ClickIdInformation |
identify(ClickDetection click) |
boolean |
restoreSettings(PamControlledUnitSettings pamControlledUnitSettings) |
public SweepClassifier(ClickControl clickControl)
public int codeToListIndex(int code)
codeToListIndex
in interface ClickIdentifier
public javax.swing.JMenuItem getMenuItem(java.awt.Frame parentFrame)
getMenuItem
in interface ClickIdentifier
public java.lang.String[] getSpeciesList()
getSpeciesList
in interface ClickIdentifier
public int[] getCodeList()
getCodeList
in interface ClickIdentifier
public PamSymbol getSymbol(ClickDetection click)
getSymbol
in interface ClickIdentifier
public ClickTypeCommonParams getCommonParams(int code)
getCommonParams
in interface ClickIdentifier
code
- the click type to checkpublic PamSymbol[] getSymbols()
getSymbols
in interface ClickIdentifier
public ClassifyDialogPanel getDialogPanel(java.awt.Frame windowFrame)
getDialogPanel
in interface ClickIdentifier
public java.lang.String getSpeciesName(int code)
getSpeciesName
in interface ClickIdentifier
public java.io.Serializable getSettingsReference()
getSettingsReference
in interface PamSettings
public long getSettingsVersion()
getSettingsVersion
in interface PamSettings
public java.lang.String getUnitName()
getUnitName
in interface PamSettings
public java.lang.String getUnitType()
getUnitType
in interface PamSettings
public boolean restoreSettings(PamControlledUnitSettings pamControlledUnitSettings)
restoreSettings
in interface PamSettings
public ClickDetector getClickDetector()
public boolean codeDuplicated(SweepClassifierSet sweepClassifierSet, int ignoreRow)
public ClickIdInformation identify(ClickDetection click)
identify
in interface ClickIdentifier
public boolean fillXMLParamaeters(org.w3c.dom.Document doc, org.w3c.dom.Element classEl)
fillXMLParamaeters
in interface ClickIdentifier
public java.lang.String getParamsInfo(ClickDetection click)
getParamsInfo
in interface ClickIdentifier
public ZeroCrossingStats[] getZeroCrossingStats(ClickDetection click)
getZeroCrossingStats
in interface ClickIdentifier
click
- the Click Detectionpublic double[] getPeakSearchRange(ClickDetection click)
getPeakSearchRange
in interface ClickIdentifier
click
- the Click Detectionpublic double getClickLength(ClickDetection click)
getClickLength
in interface ClickIdentifier
click
- the current click detection