Package noiseMonitor
Class NoiseDataBlock
- All Implemented Interfaces:
AlarmDataSource
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String[]
static final String[]
These are the names used in the database columns, so don't change them on pain of nothing ever working ever again !static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class PamguardMVC.PamDataBlock
ITERATOR_END, MATCH_AFTER, MATCH_BEFORE, MATCH_EXACT, MIX_DONOTHING, MIX_INTODATABASE, MIX_OUTOFDATABASE, NOTIFY_NEW_DATA, NOTIFY_UPDATE_DATA, POSITION_AFTER, POSITION_BEFORE, REFERENCE_ABSOLUTE, REFERENCE_CURRENT, REQUEST_DATA_LOADED, REQUEST_DATA_PARTIAL_LOAD, REQUEST_EXCEPTION, REQUEST_INTERRUPTED, REQUEST_NO_DATA, REQUEST_SAME_REQUEST
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateDBColumnName
(int iBand, int iMeasure) Get an alarmCounterProvider which can then generate any number of alarm counters for a datablock.double[]
double[]
getBandLongName
(int iBand) String[]
getBandName
(int iBand) String[]
String[]
Get the level of automation employed by the generation of these data.Get information about species types that may occur within this data block.getDefaultBandName
(int iBand) double
double
double
double
static String
getMeasureName
(int measureType) int
int
int
getTethysDataProvider
(TethysControl tethysControl) Gets a data provider for Tethys.String[]
void
masterClockUpdate
(long milliSeconds, long clockSample) void
setBandHiEdges
(double[] bandHiEdges) void
setBandLoEdges
(double[] bandLoEdges) void
setBandLongNames
(String[] bandLongNames) void
setBandNames
(String[] bandNames) void
setStatisticTypes
(int measureTypes) int
statIndexToBit
(int statIndex) Get the bitmap for the ith statistic.Methods inherited from class PamguardMVC.PamDataBlock
addDataAnnotationType, addLocalisationContents, addObserver, addObserver, addOfflineDataMap, addOldPamData, addPamData, addPamData, autoEffortProvider, autoSetDataBlockMixMode, cancelDataOrder, cancelDataOrder, checkOfflineDataUIDs, clearAll, clearChannelIterators, clearDeletedList, clearOnViewerLoad, copyDataList, createProcessAnnotations, createProcessAnnotations, dispose, dumpBlockContents, dumpBufferStatus, findAnnotation, findAnnotation, findByDatabaseIndex, findDataUnit, findDataUnit, findFirstUnitAfter, findLastUnitBefore, findUnitByUIDandUTC, findUnitsinInterval, getAnnotationHandler, getARealChannel, getBackgroundManager, getBespokeDataMapGraphic, getBinaryDataSource, getCanLog, getChannelIterator, getChannelIteratorCount, getChannelMap, getChannelsForSequenceMap, getClosestUnitMillis, getClosestUnitMillis, getClosestUnitMillisUsingSeq, getCrossReferenceInformation, getCumulativeGain, getCurrentViewDataEnd, getCurrentViewDataStart, getDataBlockXML, getDataCopy, getDataCopy, getDataCopy, getDataCopy, getDataCopyFromEnd, getDataCopyFromStart, getDataGain, getDatagrammedMap, getDatagramProvider, getDataName, getDataSelectCreator, getDataSelector, getDataSelector, getDataSelector, getDataUnit, getDataUnitMenuItems, getDataUnitPopupMenu, getDurationRange, getEffortProvider, getFirstRawSourceDataBlock, getFirstUnit, getFirstUnit, getFirstUnitAfter, getFirstViewerUID, getFrequencyRange, getHydrophoneMap, getJSONDataSource, getLastUnit, getLastUnit, getLastUnitMillis, getLastViewerUID, getListIterator, getListIterator, getListIteratorFromEnd, getListIteratorFromStart, getLocalisationAlgorithm, getLocalisationContents, getLogging, getLoggingName, getLongDataName, getMixedDirection, getMyDataUnits, getNanoTimeCalculator, getNaturalLifetime, getNaturalLifetimeMillis, getNextDataStart, getNextUnit, getNextUnit, getNumOfflineDataMaps, getNumRequiredBeforeLoadTime, getOfflineData, getOfflineDataMap, getOfflineDataMap, getPamSymbolManager, getParentProcess, getPreceedingUnit, getPreceedingUnit, getPreceedingUnit, getPreceedingUnit, getPreceedingUnitFromSeq, getPreceedingUnitFromSeq, getPrevDataEnd, getPrimaryDataMap, getProcessAnnotations, getQuickId, getQuickId2, getRawSourceDataBlock, getRawSourceDataBlock2, getRecordingTrigger, getRecycledUnit, getRecyclingStoreLength, getRemovedItems, getReverseChannelIterator, getSampleRate, getSaveRequirements, getSequenceCount, getSequenceIterator, getSequenceMap, getSequenceMapObject, getShouldBinary, getShouldLog, getShouldLog, getSourceDataBlock, getSourceProcess, getSuperDetectionClass, getSynchLock, getTOADCalculator, getUidHandler, getUIDRepairLogging, getUniqueParentList, getUnitClass, getUnitIndex, getUnitsCount, getUnitsCountFromTime, hasDataRange, isCanClipGenerate, isClearAtStart, isLinkGpsData, isOffline, isRecycling, loadViewerData, loadViewerData, needViewerDataLoad, noteNewSettings, notifyModelChanged, orderOfflineData, orderOfflineData, orderOfflineData, pamStart, pamStop, remove, remove, remove, removeOfflineDataMap, reset, saveViewerData, setAnnotationHandler, setBackgroundManager, setBinaryDataSource, setCanClipGenerate, setChannelMap, setClearAtStart, setDatagramProvider, setDataName, setDataSelectCreator, setJSONDataSource, setLinkGpsData, setLocalisationContents, SetLogging, setMixedDirection, setNanoTimeCalculator, setNaturalLifetime, setNaturalLifetimeMillis, setPamSymbolManager, setParentProcess, setRecordingTrigger, setRecycling, setRecyclingStoreLength, setSampleRate, setSequenceMap, setShouldBinary, setShouldLog, setSynchLock, setUidHandler, shouldNotify, sortData, sortOutputMaps, stopTimer, toString, updatePamData
Methods inherited from class PamguardMVC.PamObservable
addInstantObserver, canDraw, canDraw, clearchanged, countObservers, createKeyItem, deleteObserver, deleteObservers, drawDataUnit, findThreadedObserver, getCPUPercent, getCPUPercent, getHoverText, getLongestObserver, getMaxThreadJitter, getOverlayDraw, getPamObserver, getRequiredHistory, isInstantObserver, notifyInstantObservers, notifyNornalObservers, notifyObservers, notifyObservers, setChanged, setOverlayDraw, updateObservers, waitForThreadedObservers
-
Field Details
-
NOISE_MEAN
public static final int NOISE_MEAN- See Also:
-
NOISE_MEDIAN
public static final int NOISE_MEDIAN- See Also:
-
NOISE_LO95
public static final int NOISE_LO95- See Also:
-
NOISE_HI95
public static final int NOISE_HI95- See Also:
-
NOISE_MIN
public static final int NOISE_MIN- See Also:
-
NOISE_MAX
public static final int NOISE_MAX- See Also:
-
NOISE_PEAK
public static final int NOISE_PEAK- See Also:
-
NNOISETYPES
public static final int NNOISETYPES- See Also:
-
measureNames
These are the names used in the database columns, so don't change them on pain of nothing ever working ever again ! -
displayNames
-
-
Constructor Details
-
NoiseDataBlock
-
-
Method Details
-
masterClockUpdate
public void masterClockUpdate(long milliSeconds, long clockSample) - Overrides:
masterClockUpdate
in classPamDataBlock<NoiseDataUnit>
-
setStatisticTypes
public void setStatisticTypes(int measureTypes) - Parameters:
measureTypes
- the measureTypes to set
-
getStatisticTypes
public int getStatisticTypes()- Returns:
- the measureTypes
-
getNumUsedStats
public int getNumUsedStats() -
getMeasureName
-
getUsedMeasureNames
-
getNumMeasurementBands
public int getNumMeasurementBands() -
getBandLoEdges
public double[] getBandLoEdges() -
setBandLoEdges
public void setBandLoEdges(double[] bandLoEdges) -
getBandHiEdges
public double[] getBandHiEdges() -
setBandHiEdges
public void setBandHiEdges(double[] bandHiEdges) -
getLowestFrequency
public double getLowestFrequency() -
getLowestFrequency10
public double getLowestFrequency10() -
getHighestFrequency
public double getHighestFrequency() -
getHighestFrequency10
public double getHighestFrequency10() -
getColumnNames
-
createDBColumnName
-
getDefaultBandName
-
getBandNames
-
setBandNames
-
getBandLongNames
-
setBandLongNames
-
getBandName
-
getBandLongName
-
statIndexToBit
public int statIndexToBit(int statIndex) Get the bitmap for the ith statistic.- Parameters:
statIndex
-- Returns:
-
getAlarmCounterProvider
Description copied from interface:AlarmDataSource
Get an alarmCounterProvider which can then generate any number of alarm counters for a datablock.- Specified by:
getAlarmCounterProvider
in interfaceAlarmDataSource
- Returns:
- alarm Counter provider for that control. This more complicated system enables multiple alarms to be hung off the same data block.
-
getDataAutomationInfo
Description copied from class:PamDataBlock
Get the level of automation employed by the generation of these data. Should ideally be completed for everything providing data to Tethys.- Overrides:
getDataAutomationInfo
in classPamDataBlock<NoiseDataUnit>
- Returns:
- level of automation for this data block.
-
getTethysDataProvider
Description copied from class:PamDataBlock
Gets a data provider for Tethys. These will probably need to be bespoke, but for now will autogenerate based on the SQLLogging information.- Overrides:
getTethysDataProvider
in classPamDataBlock<NoiseDataUnit>
- Returns:
- the tethysDataProvider
-
getDatablockSpeciesManager
Description copied from class:PamDataBlock
Get information about species types that may occur within this data block. Primarily for conversion into Tethys compatible data, but may prove to have other uses.- Overrides:
getDatablockSpeciesManager
in classPamDataBlock<NoiseDataUnit>
- Returns:
- Types of species information available within this datablock.
-