IshmaelLocator
Class IshLocPairProcess

java.lang.Object
  extended by PamguardMVC.PamProcess
      extended by IshmaelLocator.IshLocProcess
          extended by IshmaelLocator.IshLocPairProcess
All Implemented Interfaces:
Annotator, PamObserver, SpectrogramMarkObserver

public class IshLocPairProcess
extends IshLocProcess

Two-hydrophone bearing calculation.

Author:
Dave Mellinger

Field Summary
(package private)  Correlations correlations
           
(package private)  double[] freqRange
           
 
Fields inherited from class IshmaelLocator.IshLocProcess
arraygeom, c, hydlist, inputData, ishLocControl, outputDataBlock, v1, v2
 
Fields inherited from class PamguardMVC.PamProcess
outputDataBlocks, processName, sampleRate
 
Fields inherited from interface Spectrogram.SpectrogramMarkObserver
MOUSE_DOWN, MOUSE_UP
 
Constructor Summary
IshLocPairProcess(IshLocControl ishLocControl)
           
 
Method Summary
(package private)  IshLocalisation calcData(PamDetection outputUnit, int referencePhones, double[][] selectionSams, double rawSampleRate, double f0, double f1)
          calcData, which is declared here but defined only in subclasses, uses the selectionSams to calculate a location, which is returned.
 java.lang.String getName()
           
 
Methods inherited from class IshmaelLocator.IshLocProcess
doLocalisation, getInputDataBlock, getMarkObserverName, newData, pamStart, pamStop, prepareMyParams, setParentDataBlock, setupConnections, spectrogramNotification
 
Methods inherited from class PamguardMVC.PamProcess
absMillisecondsToSamples, absSamplesToMilliseconds, addOutputDataBlock, changedThreading, clearOldData, createAnnotations, destroyProcess, fillXMLElement, fillXMLParameters, getAncestorDataBlock, getAnnotation, getBackendProcess, getChainPosition, getCpuPercent, getNumAnnotations, getNumOutputDataBlocks, getObserverName, getObserverObject, getOfflineData, getOutputDataBlock, getPamControlledUnit, getParentDataBlock, getParentProcess, getProcessName, getRawSourceDataBlock, getRequiredDataHistory, getSampleRate, getSourceDataBlock, getSourceProcess, isCanMultiThread, makePamProcess, masterClockUpdate, noteNewSettings, notifyModelChanged, prepareProcess, relMillisecondsToSamples, relSamplesToMilliseconds, removeObservable, removeOutputDatablock, saveViewerData, setBackendProcess, setCanMultiThread, setParentDataBlock, setProcessName, setSampleRate, setupProcess, toString, update, updateData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

freqRange

double[] freqRange

correlations

Correlations correlations
Constructor Detail

IshLocPairProcess

public IshLocPairProcess(IshLocControl ishLocControl)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in class IshLocProcess

calcData

IshLocalisation calcData(PamDetection outputUnit,
                         int referencePhones,
                         double[][] selectionSams,
                         double rawSampleRate,
                         double f0,
                         double f1)
                   throws noLocationFoundException
Description copied from class: IshLocProcess
calcData, which is declared here but defined only in subclasses, uses the selectionSams to calculate a location, which is returned. Note that the class variables arraygeom[][] and c are available for use by the subclass.

Specified by:
calcData in class IshLocProcess
Throws:
noLocationFoundException