public class SgramCorrProcess extends IshDetFnProcess
Modifier and Type | Class and Description |
---|---|
class |
SgramCorrProcess.PerChannelInfo
Information specific to each channel.
|
Constructor and Description |
---|
SgramCorrProcess(SgramCorrControl sgramCorrControl,
PamDataBlock parentDataBlock) |
Modifier and Type | Method and Description |
---|---|
float |
getDetSampleRate() |
float |
getHiFreq() |
float |
getLoFreq() |
java.lang.String |
getLongName() |
java.lang.String |
getNumberName() |
double |
gramDotProd(double[][] ker,
double[][] gram,
int startI) |
double |
hat(double x)
The derivative of the Gaussian function -- i.e., the 'Mexican hat'
function -- with mean 0 and variance 1.
|
java.lang.Class |
inputDataClass() |
void |
makeKernel(SgramCorrParams p,
double sRate,
double fRate,
int gramHeight)
Create a spectrogram correlation kernel.
|
void |
newData(PamObservable o,
PamDataUnit arg1) |
void |
pamStart()
Called for each process to tell it to start (may not be necessary for
processes which are listening for data anyway).
|
void |
renewPerChannelInfo() |
getChannelMap, getInputDataBlock, getOutputDataUnit, pamStop, prepareProcess, setSampleRate, setupConnections
absMillisecondsToSamples, absSamplesToMilliseconds, addOutputDataBlock, changedThreading, clearOldData, createAnnotations, destroyProcess, fillXMLElement, flushDataBlockBuffers, getAncestorDataBlock, getAnnotation, getChainPosition, getCpuPercent, getNumAnnotations, getNumOutputDataBlocks, getObserverName, getObserverObject, getOfflineData, getOutputDataBlock, getOutputDataBlocks, getPamControlledUnit, getParentDataBlock, getParentProcess, getProcessName, getRawSourceDataBlock, getRequiredDataHistory, getSampleRate, getSourceDataBlock, getSourceProcess, isCanMultiThread, makePamProcess, masterClockUpdate, noteNewSettings, notifyModelChanged, processNewBuoyData, relMillisecondsToSamples, relSamplesToMilliseconds, removeAllDataBlocks, removeObservable, removeOutputDatablock, resetDataBlocks, saveViewerData, setCanMultiThread, setParentDataBlock, setParentDataBlock, setProcessName, setupProcess, toString, update, updateData
public SgramCorrProcess(SgramCorrControl sgramCorrControl, PamDataBlock parentDataBlock)
public java.lang.String getLongName()
getLongName
in class IshDetFnProcess
public java.lang.String getNumberName()
public java.lang.Class inputDataClass()
inputDataClass
in class IshDetFnProcess
public float getDetSampleRate()
getDetSampleRate
in class IshDetFnProcess
public void makeKernel(SgramCorrParams p, double sRate, double fRate, int gramHeight)
SgramCorrParams
- p -- defines what the kernel is shaped likedouble
- sRate -- sample ratedouble
- fRate -- frame rate of the spectrogram (slices/s)int
- gramHeight -- in cells; equal to FFT size / 2public float getHiFreq()
getHiFreq
in class IshDetFnProcess
public float getLoFreq()
getLoFreq
in class IshDetFnProcess
public double hat(double x)
public void newData(PamObservable o, PamDataUnit arg1)
newData
in class PamProcess
public double gramDotProd(double[][] ker, double[][] gram, int startI)
public void renewPerChannelInfo()
public void pamStart()
PamProcess
pamStart
in class IshDetFnProcess