Package clickDetector.echoDetection
Class SimpleEchoDetectionSystem
java.lang.Object
clickDetector.echoDetection.EchoDetectionSystem
clickDetector.echoDetection.SimpleEchoDetectionSystem
- All Implemented Interfaces:
PamSettings,SettingsNameProvider
Very simple echo detection system which uses a single test of time
between the previous click and this click to determine if it's an echo or not.
- Author:
- Doug Gillespie
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateEchoDetector(ClickDetector.ChannelGroupDetector channelGroupDetector, int channelBitmap) Get an echo detection object for a set of channels.Get a dialog panel to be included in a larger or more general dialog.longbooleanrestoreSettings(PamControlledUnitSettings pamControlledUnitSettings) Methods inherited from class clickDetector.echoDetection.EchoDetectionSystem
getClickcontrol
-
Field Details
-
simpleEchoParams
-
-
Constructor Details
-
SimpleEchoDetectionSystem
-
-
Method Details
-
createEchoDetector
public EchoDetector createEchoDetector(ClickDetector.ChannelGroupDetector channelGroupDetector, int channelBitmap) Description copied from class:EchoDetectionSystemGet an echo detection object for a set of channels.- Specified by:
createEchoDetectorin classEchoDetectionSystem- Parameters:
channelGroupDetector-channelBitmap- channels to be included in this particular echo detector.- Returns:
- an echo detector for a group of channels.
-
getEchoDialogPanel
Description copied from class:EchoDetectionSystemGet a dialog panel to be included in a larger or more general dialog.- Specified by:
getEchoDialogPanelin classEchoDetectionSystem- Returns:
- a dialog panel.
-
getSettingsReference
- Specified by:
getSettingsReferencein interfacePamSettings- Returns:
- The serialisable object that will be stored
-
getSettingsVersion
public long getSettingsVersion()- Specified by:
getSettingsVersionin interfacePamSettings- Returns:
- An integer version number for the settings
-
getUnitName
- Specified by:
getUnitNamein interfaceSettingsNameProvider- Returns:
- A Name specific to this instance of the particular class, e.g. Sperm whale detector, Beaked whale detector, etc.
-
getUnitType
- Specified by:
getUnitTypein interfacePamSettings- Returns:
- A Name specific to the type, e.g. Click detector
-
restoreSettings
- Specified by:
restoreSettingsin interfacePamSettings- Parameters:
pamControlledUnitSettings-- Returns:
- true if successful The object performs final checks (if needed) and then casts the settings data pamcontrolledunitSettings.settings into the correct type and uses as required
-