Class IshPeakProcess

java.lang.Object
PamguardMVC.PamProcess
IshmaelDetector.IshPeakProcess
All Implemented Interfaces:
PamObserver, ProcessAnnotator

public class IshPeakProcess extends PamProcess
Generic process which picks a peak from any of the Ishmael detectors, e.g. energy sum, spectral template etc.

Note: Variables named xxN are time in units of number of FFT bins. Variables xxSam are variables in units of raw samples.

Author:
Dave Mellinger and Hisham Qayum
  • Field Details Link icon

    • defaultSymbol Link icon

      public static final SymbolData defaultSymbol
  • Constructor Details Link icon

  • Method Details Link icon

    • setParentDataBlock Link icon

      public void setParentDataBlock(PamDataBlock newParentDataBlock)
      Description copied from class: PamProcess
      Set a parent data block with the default options of rethreading if set
      Overrides:
      setParentDataBlock in class PamProcess
      Parameters:
      newParentDataBlock - source data block.
    • getChannelMap Link icon

      public int getChannelMap()
      Gte all channels used- these are NOT the actiuve channels
      Returns:
      the active channels.
    • setSampleRate Link icon

      public void setSampleRate(float sampleRate, boolean notify)
      Description copied from interface: PamObserver
      New sample rate
      Specified by:
      setSampleRate in interface PamObserver
      Overrides:
      setSampleRate in class PamProcess
      Parameters:
      sampleRate -
      notify - Notify other PamObservers and PamObservables in the chain.
    • setupConnections Link icon

      public void setupConnections()
    • prepareMyParams Link icon

      protected void prepareMyParams()
      Calculate any subsidiary values needed for processing. These get recalculated whenever the sample rate changes (via setSampleRate, which is also called after the params dialog box closes).
    • prepareForRun Link icon

      public void prepareForRun()
    • newData Link icon

      public void newData(PamObservable o, PamDataUnit arg1)
      Overrides:
      newData in class PamProcess
    • pamStart Link icon

      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 class PamProcess
    • pamStop Link icon

      public void pamStop()
      Description copied from class: PamProcess
      Stops the process.
      Specified by:
      pamStop in class PamProcess
    • getOutputDataBlock Link icon

      public PamDataBlock getOutputDataBlock()