Package noiseMonitor
Class NoiseDataBlock
- All Implemented Interfaces:
 AlarmDataSource
- 
Field Summary
FieldsModifier 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 intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class PamguardMVC.PamDataBlock
ITERATOR_END, MATCH_AFTER, MATCH_BEFORE, MATCH_EXACT, MIX_DONOTHING, MIX_INTODATABASE, MIX_OUTOFDATABASE, naturalLifetime, NOTIFY_NEW_DATA, NOTIFY_UPDATE_DATA, pamDataUnits, parentProcess, 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, unitsAdded, unitsRemoved, unitsUpdatedFields inherited from class PamguardMVC.PamObservable
masterClockSample, objectChanged, overlayDraw, pamProfiler - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptioncreateDBColumnName(int iBand, int iMeasure) Get an alarmCounterProvider which can then generate any number of alarm counters for a datablock.getBandCentreFrequency(int iBand) Geet the centre frequency of a banc.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) doubledoubledoubledoublestatic StringgetMeasureName(int measureType) intintintgetTethysDataProvider(TethysControl tethysControl) Gets a data provider for Tethys.String[]voidmasterClockUpdate(long milliSeconds, long clockSample) voidsetBandHiEdges(double[] bandHiEdges) voidsetBandLoEdges(double[] bandLoEdges) voidsetBandLongNames(String[] bandLongNames) voidsetBandNames(String[] bandNames) voidsetStatisticTypes(int measureTypes) intstatIndexToBit(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, clearAll, clearChannelIterators, clearDeletedList, clearOnViewerLoad, copyDataList, createProcessAnnotations, createProcessAnnotations, dispose, dumpBlockContents, dumpBufferStatus, findAnnotation, findAnnotation, findByDatabaseIndex, findDataUnit, findDataUnit, findFirstUnitAfter, findLastUnitBefore, findUnitByUIDandUTC, findUnitsinInterval, getAbsoluteDataUnit, 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, getPamConfiguration, 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, getTaskDataCopy, getTOADCalculator, getUidHandler, getUIDRepairLogging, getUniqueParentList, getUnitClass, getUnitIndex, getUnitsCount, getUnitsCountFromTime, hasDataRange, isCanClipGenerate, isClearAtStart, isLinkGpsData, isOffline, isRecycling, loadViewerData, loadViewerData, needViewerDataLoad, noteNewSettings, notifyModelChanged, notifyOfflineObservers, orderOfflineData, orderOfflineData, orderOfflineData, pamStart, pamStop, remove, remove, remove, removedDataUnit, removeOfflineDataMap, removeOldUnitsS, removeOldUnitsT, reset, saveViewerData, setAnnotationHandler, setBackgroundManager, setBinaryDataSource, setCanClipGenerate, setChannelMap, setClearAtStart, setCurrentViewDataEnd, setCurrentViewDataStart, setDatagramProvider, setDataName, setDataSelectCreator, setEffortProvider, setJSONDataSource, setLinkGpsData, setLocalisationContents, SetLogging, setMixedDirection, setNanoTimeCalculator, setNaturalLifetime, setNaturalLifetimeMillis, setPamSymbolManager, setParentProcess, setRecordingTrigger, setRecycling, setRecyclingStoreLength, setSampleRate, setSequenceMap, setShouldBinary, setShouldLog, setSynchLock, setUidHandler, shouldNotify, sortData, sortOutputMaps, stopTimer, toString, updatePamDataMethods inherited from class PamguardMVC.PamObservable
addInstantObserver, canDraw, canDraw, clearchanged, countObservers, createKeyItem, deleteObserver, deleteObservers, drawDataUnit, findThreadedObserver, getCPUPercent, getCPUPercent, getHoverText, getInstantObservers, getLongestObserver, getMaxThreadJitter, getOverlayDraw, getPamObserver, getPamObservers, 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:
 masterClockUpdatein 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
 - 
getBandCentreFrequency
Geet the centre frequency of a banc.- Parameters:
 iBand-- Returns:
 
 - 
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:AlarmDataSourceGet an alarmCounterProvider which can then generate any number of alarm counters for a datablock.- Specified by:
 getAlarmCounterProviderin 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:PamDataBlockGet the level of automation employed by the generation of these data. Should ideally be completed for everything providing data to Tethys.- Overrides:
 getDataAutomationInfoin classPamDataBlock<NoiseDataUnit>- Returns:
 - level of automation for this data block.
 
 - 
getTethysDataProvider
Description copied from class:PamDataBlockGets a data provider for Tethys. These will probably need to be bespoke, but for now will autogenerate based on the SQLLogging information.- Overrides:
 getTethysDataProviderin classPamDataBlock<NoiseDataUnit>- Returns:
 - the tethysDataProvider
 
 - 
getDatablockSpeciesManager
Description copied from class:PamDataBlockGet 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:
 getDatablockSpeciesManagerin classPamDataBlock<NoiseDataUnit>- Returns:
 - Types of species information available within this datablock.
 
 
 -