Package beamformer.localiser
Class BeamFormLocProcess
java.lang.Object
PamguardMVC.PamProcess
beamformer.BeamFormerBaseProcess
beamformer.localiser.BeamFormLocProcess
- All Implemented Interfaces:
PamObserver
,ProcessAnnotator
This process doesn't calculate continuous beams, but when data do arrive,
it calculates a beam'O'Gram for data in that time-frequency box and estimates
a best location based on that time interval.
- Author:
- Doug Gillespie
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
beamFormDataUnit
(PamDataUnit pamDataUnit) Run the beam former within the given time-frequency box.boolean
beamFormGroup
(PamDataUnit pamDataUnit, beamformer.localiser.BeamFormLocProcess.BeamOGroup beamGroup) Beam for a data unit within a particular beam group.Find the source of FFT data for the beam former.long
void
newData
(PamObservable o, PamDataUnit arg) void
pamStart()
Called for each process to tell it to start (may not be necessary for processes which are listening for data anyway).void
pamStop()
Stops the process.void
Called for each process before any of them receive the PamStart commandMethods inherited from class beamformer.BeamFormerBaseProcess
findGroupProcess, frequencyToBin, frequencyToBin, getBeamFormerOutput, getBeamOGramOutput, getChannelGroupLUT, getChannelsForSequenceMap, getFftDataSource, getGroupProcesses, makeContinuousBeams, notifyModelChanged
Methods inherited from class PamguardMVC.PamProcess
absMillisecondsToSamples, absSamplesToMilliseconds, addData, addMultiPlexDataBlock, addOutputDataBlock, changedThreading, clearOldData, createAnnotations, destroyProcess, dumpBufferStatus, flushDataBlockBuffers, getAncestorDataBlock, getAnnotation, getChainPosition, getCompatibleDataUnits, getCpuPercent, getFrequencyRange, getLastSourceNotificationObject, getLastSourceNotificationType, getMuiltiplexDataBlock, getNumAnnotations, getNumMuiltiplexDataBlocks, getNumOutputDataBlocks, getObserverName, getObserverObject, getOfflineData, getOfflineData, getOutputDataBlock, getOutputDataBlocks, getPamControlledUnit, getParentDataBlock, getParentDataBlocks, getParentProcess, getProcessCheck, getProcessName, getRawSourceDataBlock, getRawSourceDataBlock, getSampleRate, getSourceDataBlock, getSourceProcess, hasOutputDatablock, isCanMultiThread, isExternalProcess, isMultiplex, makePamProcess, masterClockUpdate, noteNewSettings, prepareProcessOK, processNewBuoyData, receiveSourceNotification, relMillisecondsToSamples, relSamplesToMilliseconds, removeAllDataBlocks, removeAllMultiPlexDataBlocks, removeMultiPlexDataBlock, removeObservable, removeOutputDatablock, resetDataBlocks, saveViewerData, setCanMultiThread, setExternalProcess, setMultiplex, setParentDataBlock, setParentDataBlock, setProcessCheck, setProcessName, setSampleRate, setupProcess, toString, updateData
-
Constructor Details
-
BeamFormLocProcess
-
-
Method Details
-
prepareProcess
public void prepareProcess()Description copied from class:PamProcess
Called for each process before any of them receive the PamStart command- Overrides:
prepareProcess
in classBeamFormerBaseProcess
-
findFFTDataBlock
Description copied from class:BeamFormerBaseProcess
Find the source of FFT data for the beam former. this may not be the same as the main data source if the main source is raw or detection data (overridden in BeamFormLocProcess).- Overrides:
findFFTDataBlock
in classBeamFormerBaseProcess
- Returns:
- FFT source for the beam former.
-
pamStart
public void pamStart()Description copied from class:PamProcess
Called for each process to tell it to start (may not be necessary for processes which are listening for data anyway).- Specified by:
pamStart
in classPamProcess
-
pamStop
public void pamStop()Description copied from class:PamProcess
Stops the process.- Specified by:
pamStop
in classPamProcess
-
getRequiredDataHistory
- Specified by:
getRequiredDataHistory
in interfacePamObserver
- Overrides:
getRequiredDataHistory
in classPamProcess
- Parameters:
arg
- optional argument from PamObservable- Returns:
- time in milliseconds required by data held in PamObservable
-
newData
- Overrides:
newData
in classPamProcess
-
beamFormDataUnit
Run the beam former within the given time-frequency box.- Parameters:
timeRange
-freqRange
-markChannels
-
-
beamFormGroup
public boolean beamFormGroup(PamDataUnit pamDataUnit, beamformer.localiser.BeamFormLocProcess.BeamOGroup beamGroup) Beam for a data unit within a particular beam group.- Parameters:
pamDataUnit
- data unitbeamGroup
- beam group- Returns:
- true if successful
-
getBeamFormerLocaliserControl
- Returns:
- the beamFormerLocaliserControl
-