Package noiseMonitor.species
Class TethysNoiseDataProvider
java.lang.Object
tethys.pamdata.AutoTethysProvider
noiseMonitor.species.TethysNoiseDataProvider
- All Implemented Interfaces:
TethysDataProvider
-
Constructor Summary
ConstructorDescriptionTethysNoiseDataProvider
(TethysControl tethysControl, NoiseDataBlock noiseDataBlock) -
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 outputvoid
getEffortKinds
(PDeployment pDeployment, List<nilus.DetectionEffortKind> effortKinds, StreamExportParams exportParams) Fill in the effort kind list for the top of a Detections document.boolean
wantExportDialogCard
(ExportWizardCard wizPanel) See if a particular card should be used in the export wizard.Methods inherited from class tethys.pamdata.AutoTethysProvider
addUserDefined, canExportLocalisations, getAlgorithm, getAlgorithmParameters, getDescription, getDetectionsMethod, getDetectionsName, getLocalisationInfo, getLocalisationParameters, getTethysControl, granularityOK, hasDetections, isAddFrequencyInfo, roundDecimalPlaces, roundSignificantFigures, setAddFrequencyInfo
-
Constructor Details
-
TethysNoiseDataProvider
-
-
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.
-
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 unit- Returns:
- Detection Tethys Detection object.
-
getEffortKinds
public void getEffortKinds(PDeployment pDeployment, List<nilus.DetectionEffortKind> effortKinds, StreamExportParams exportParams) Description copied from interface:TethysDataProvider
Fill in the effort kind list for the top of a Detections document. This must contain a list of every species that's going to be output within this effort period. Any species assigned to an actual detection must be in this list, or the document will be rejected.- Specified by:
getEffortKinds
in interfaceTethysDataProvider
- Overrides:
getEffortKinds
in classAutoTethysProvider
- Parameters:
effortKinds
- tethys object list to add to.
-
wantExportDialogCard
Description copied from interface:TethysDataProvider
See if a particular card should be used in the export wizard. This may not be the best way of doing this, but will do for now.- Specified by:
wantExportDialogCard
in interfaceTethysDataProvider
- Overrides:
wantExportDialogCard
in classAutoTethysProvider
- Returns:
-