Package noiseMonitor.species
Class TethysNoiseDataProvider
java.lang.Object
tethys.pamdata.AutoTethysProvider
noiseMonitor.species.TethysNoiseDataProvider
- All Implemented Interfaces:
 TethysDataProvider
- 
Constructor Summary
ConstructorsConstructorDescriptionTethysNoiseDataProvider(TethysControl tethysControl, NoiseDataBlock noiseDataBlock)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleancanExportLocalisations(nilus.GranularityEnumType granularityType) See if it's possible for this block to export localisations.nilus.DetectioncreateDetection(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 outputvoidgetEffortKinds(PDeployment pDeployment, List<nilus.DetectionEffortKind> effortKinds, StreamExportParams exportParams) Fill in the effort kind list for the top of a Detections document.booleanwantExportDialogCard(ExportWizardCard wizPanel) See if a particular card should be used in the export wizard.Methods inherited from class tethys.pamdata.AutoTethysProvider
addUserDefined, getAlgorithm, getAlgorithmParameters, getDescription, getDetectionsMethod, getDetectionsName, getLocalisationAlgorithm, getLocalisationInfo, getLocalisationParameters, getPamDataBlock, getTethysControl, granularityOK, hasDetections, isAddFrequencyInfo, packAnnotation, roundDecimalPlaces, roundSignificantFigures, setAddFrequencyInfo 
- 
Constructor Details
- 
TethysNoiseDataProvider
 
 - 
 - 
Method Details
- 
getAllowedGranularities
public nilus.GranularityEnumType[] getAllowedGranularities()Description copied from interface:TethysDataProviderGet a list of allowed granularity types for this output- Specified by:
 getAllowedGranularitiesin interfaceTethysDataProvider- Overrides:
 getAllowedGranularitiesin classAutoTethysProvider- Returns:
 - list of granularities.
 
 - 
createDetection
public nilus.Detection createDetection(PamDataUnit dataUnit, TethysExportParams tethysExportParams, StreamExportParams streamExportParams) Description copied from interface:TethysDataProviderCreate 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:
 createDetectionin interfaceTethysDataProvider- Overrides:
 createDetectionin classAutoTethysProvider- Parameters:
 dataUnit- PAMGuard data unittethysExportParams-streamExportParams-- Returns:
 - Detection Tethys Detection object.
 
 - 
getEffortKinds
public void getEffortKinds(PDeployment pDeployment, List<nilus.DetectionEffortKind> effortKinds, StreamExportParams exportParams) Description copied from interface:TethysDataProviderFill 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:
 getEffortKindsin interfaceTethysDataProvider- Overrides:
 getEffortKindsin classAutoTethysProvider- Parameters:
 pDeployment-effortKinds- tethys object list to add to.exportParams-
 - 
wantExportDialogCard
Description copied from interface:TethysDataProviderSee 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:
 wantExportDialogCardin interfaceTethysDataProvider- Overrides:
 wantExportDialogCardin classAutoTethysProvider- Parameters:
 wizPanel-- Returns:
 
 - 
canExportLocalisations
public boolean canExportLocalisations(nilus.GranularityEnumType granularityType) Description copied from interface:TethysDataProviderSee if it's possible for this block to export localisations. This may depend on the selected granularity.- Specified by:
 canExportLocalisationsin interfaceTethysDataProvider- Overrides:
 canExportLocalisationsin classAutoTethysProvider- Parameters:
 granularityType-- Returns:
 
 
 -