Package RightWhaleEdgeDetector
Class RWEDataBlock
java.lang.Object
- All Implemented Interfaces:
 GroupedDataSource
public class RWEDataBlock
extends AbstractWhistleDataBlock<RWEDataUnit>
implements GroupedDataSource
- 
Field Summary
Fields 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
ConstructorsConstructorDescriptionRWEDataBlock(RWEControl rweControl, String dataName, RWEProcess rweProcess, int channelMap)  - 
Method Summary
Modifier and TypeMethodDescriptionGet the level of automation employed by the generation of these data.Get information about species types that may occur within this data block.double[]Get the range of frequencies over which the data in the data block are likely to be present.getTethysDataProvider(TethysControl tethysControl) Gets a data provider for Tethys.booleanloadViewerData(long dataStart, long dataEnd, ViewLoadObserver loadObserver) Instruction from the viewer scroll manager to load new data.booleanloadViewerData(OfflineDataLoadInfo offlineDataLoadInfo, ViewLoadObserver loadObserver) Instruction from the viewer scroll manager to load new data.Methods inherited from class whistlesAndMoans.AbstractWhistleDataBlock
binsToHz, binsToSeconds, getFftHop, getFftLength, setFftHop, setFftLengthMethods inherited from class PamguardMVC.AcousticDataBlock
findParentSource, getChannelListManager, getDataBlockXML, getParentSourceData, notifyModelChanged, prepareAmplitudeCalculations, prepareChannelListsMethods 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, getDataCopy, getDataCopy, getDataCopy, getDataCopy, getDataCopyFromEnd, getDataCopyFromStart, getDataGain, getDatagrammedMap, getDatagramProvider, getDataName, getDataSelector, getDataSelector, getDataSelector, getDataUnit, getDataUnitMenuItems, getDataUnitPopupMenu, getDurationRange, getEffortProvider, getFirstRawSourceDataBlock, getFirstUnit, getFirstUnit, getFirstUnitAfter, getFirstViewerUID, 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, masterClockUpdate, needViewerDataLoad, noteNewSettings, 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 
- 
Constructor Details
- 
RWEDataBlock
 
 - 
 - 
Method Details
- 
getFrequencyRange
public double[] getFrequencyRange()Description copied from class:PamDataBlockGet the range of frequencies over which the data in the data block are likely to be present. Note that this is pretty crude and may not reflect the true range, for example, the click detector will return the limits of it's trigger filter, and there are plenty of sounds outside of that range which may have most of their energy well outside of the trigger range of the detector.- Overrides:
 getFrequencyRangein classPamDataBlock<RWEDataUnit>- Returns:
 - Nominal frequency range for data in this block.
 
 - 
loadViewerData
Description copied from class:PamDataBlockInstruction from the viewer scroll manager to load new data.This just calls through to loadViewerData(OfflineDataLoadInfo ...) so this should not be overridden. Override the other function instead.
- Overrides:
 loadViewerDatain classPamDataBlock<RWEDataUnit>- Parameters:
 dataStart- data start time in millisdataEnd- data end time in millis.loadObserver- - the load obsever. Can be used as a callback for load progress.
 - 
loadViewerData
public boolean loadViewerData(OfflineDataLoadInfo offlineDataLoadInfo, ViewLoadObserver loadObserver) Description copied from class:PamDataBlockInstruction from the viewer scroll manager to load new data.- Overrides:
 loadViewerDatain classPamDataBlock<RWEDataUnit>- Parameters:
 offlineDataLoadInfo- - the load object which contains all info on the data to be loaded.loadObserver- - the load observer. Can be used as a callback for load progress.
 - 
getGroupSourceParameters
- Specified by:
 getGroupSourceParametersin interfaceGroupedDataSource- Returns:
 - the current group source parameters for this data source.
 
 - 
getDataSelectCreator
- Overrides:
 getDataSelectCreatorin classPamDataBlock<RWEDataUnit>- Returns:
 - an object that can create data selectors to sub select data from within this type of data block.
 
 - 
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<RWEDataUnit>- Returns:
 - Types of species information available within this datablock.
 
 - 
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<RWEDataUnit>- Returns:
 - the tethysDataProvider
 
 - 
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<RWEDataUnit>- Returns:
 - level of automation for this data block.
 
 
 -