Package PamguardMVC

Class AcousticDataBlock<Tunit extends PamDataUnit>

java.lang.Object
PamguardMVC.PamObservable
PamguardMVC.PamDataBlock<Tunit>
PamguardMVC.AcousticDataBlock<Tunit>
Type Parameters:
Tunit -
Direct Known Subclasses:
AbstractWhistleDataBlock, ClickDataBlock, ClickGroupDataBlock, ClipDisplayDataBlock, CPODClickDataBlock, DataBlock2D, GPLDetectionBlock, PamRawDataBlock

public abstract class AcousticDataBlock<Tunit extends PamDataUnit> extends PamDataBlock<Tunit>
Class for all PAMGAURD data based on acoustic types of data, i.e. data which have a sample number (so not NMEA data, depth data, visual data, etc, but raw data, FFT data, detections, etc.).

Includes some functions to relate channel numbers to hydrophone numbers (which are messed up in the decimator) and functions to turn amplitudes from raw units into dB re 1 mu Pa.

Author:
Doug Gillespie
  • Constructor Details Link icon

    • AcousticDataBlock Link icon

      public AcousticDataBlock(Class unitClass, String dataName, PamProcess parentProcess, int channelMap)
  • Method Details Link icon

    • notifyModelChanged Link icon

      public void notifyModelChanged(int changeType)
      Description copied from class: PamDataBlock
      Receive notifications from the main PamController.
      Overrides:
      notifyModelChanged in class PamDataBlock<Tunit extends PamDataUnit>
      Parameters:
      changeType -
    • findParentSource Link icon

      protected void findParentSource()
    • prepareAmplitudeCalculations Link icon

      protected void prepareAmplitudeCalculations()
    • prepareChannelLists Link icon

      protected void prepareChannelLists()
    • getChannelListManager Link icon

      public ChannelListManager getChannelListManager()
    • getParentSourceData Link icon

      public AcousticDataBlock getParentSourceData()
    • getDataBlockXML Link icon

      public Element getDataBlockXML(Document doc)
      Description copied from class: PamDataBlock
      Get a brief summary of datablock to include in XML descriptions. Basic output is very simple. Expect other datablock to extend this by adding additional attributes.
      Overrides:
      getDataBlockXML in class PamDataBlock<Tunit extends PamDataUnit>
      Parameters:
      doc -
      Returns:
      XML element with description of data.