Package detectiongrouplocaliser.tethys
Class DetectionGroupTethysProvider
java.lang.Object
tethys.pamdata.AutoTethysProvider
detectiongrouplocaliser.tethys.DetectionGroupTethysProvider
- All Implemented Interfaces:
TethysDataProvider
-
Constructor Summary
ConstructorsConstructorDescriptionDetectionGroupTethysProvider
(TethysControl tethysControl, PamDataBlock pamDataBlock, DetectionGroupControl detectionGroupControl) -
Method Summary
Modifier and TypeMethodDescriptionnilus.Detection
createDetection
(PamDataUnit dataUnit, TethysExportParams tethysExportParams, StreamExportParams streamExportParams) Create a Tethys Detection object from a PamDataUnit.
It's OK for this to return null if for some reason the unit shouldn't be stored.nilus.GranularityEnumType[]
Get a list of allowed granularity types for this outputGet the localisation algorithm (if there is one).Methods inherited from class tethys.pamdata.AutoTethysProvider
addUserDefined, canExportLocalisations, getAlgorithm, getAlgorithmParameters, getDescription, getDetectionsMethod, getDetectionsName, getEffortKinds, getLocalisationInfo, getLocalisationParameters, getPamDataBlock, getTethysControl, granularityOK, hasDetections, isAddFrequencyInfo, packAnnotation, roundDecimalPlaces, roundSignificantFigures, setAddFrequencyInfo, wantExportDialogCard
-
Constructor Details
-
DetectionGroupTethysProvider
public DetectionGroupTethysProvider(TethysControl tethysControl, PamDataBlock pamDataBlock, DetectionGroupControl detectionGroupControl)
-
-
Method Details
-
getAllowedGranularities
public nilus.GranularityEnumType[] getAllowedGranularities()Description copied from interface:TethysDataProvider
Get a list of allowed granularity types for this output- Specified by:
getAllowedGranularities
in interfaceTethysDataProvider
- Overrides:
getAllowedGranularities
in classAutoTethysProvider
- Returns:
- list of granularities.
-
getLocalisationAlgorithm
Description copied from interface:TethysDataProvider
Get the localisation algorithm (if there is one). This is generally found automatically from the datablock, but it may be necessary to override.- Specified by:
getLocalisationAlgorithm
in interfaceTethysDataProvider
- Overrides:
getLocalisationAlgorithm
in classAutoTethysProvider
- Returns:
- Localisation Algorithm, or null.
-
createDetection
public nilus.Detection createDetection(PamDataUnit dataUnit, TethysExportParams tethysExportParams, StreamExportParams streamExportParams) Description copied from interface:TethysDataProvider
Create a Tethys Detection object from a PamDataUnit.
It's OK for this to return null if for some reason the unit shouldn't be stored.- Specified by:
createDetection
in interfaceTethysDataProvider
- Overrides:
createDetection
in classAutoTethysProvider
- Parameters:
dataUnit
- PAMGuard data unittethysExportParams
-streamExportParams
-- Returns:
- Detection Tethys Detection object.
-