Class SpectrogramNoiseProcess

java.lang.Object
PamguardMVC.PamProcess
spectrogramNoiseReduction.SpectrogramNoiseProcess
All Implemented Interfaces:
PamObserver, ProcessAnnotator

public class SpectrogramNoiseProcess extends PamProcess
  • Constructor Details

    • SpectrogramNoiseProcess

      public SpectrogramNoiseProcess(PamControlledUnit pamControlledUnit)
  • Method Details

    • setupProcess

      public void setupProcess()
      Description copied from class: PamProcess
      called for every process once the systemmodel has been created. this is a good time to check out and find input data blocks and similar tasks.
      Overrides:
      setupProcess in class PamProcess
    • newData

      public void newData(PamObservable o, PamDataUnit arg)
      Overrides:
      newData in class PamProcess
    • prepareProcess

      public void prepareProcess()
      Description copied from class: PamProcess
      Called for each process before any of them receive the PamStart command
      Overrides:
      prepareProcess in class PamProcess
    • getNoiseSettings

      public SpectrogramNoiseSettings getNoiseSettings()
    • setNoiseSettings

      public void setNoiseSettings(SpectrogramNoiseSettings noiseSettings)
    • getMethods

      public ArrayList<SpecNoiseMethod> getMethods()
    • setParentDataBlock

      public void setParentDataBlock(FFTDataBlock fftDataBlock)
    • 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 class PamProcess
    • pamStop

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

      public ProcessAnnotation getAnnotation(PamDataBlock pamDataBlock, int annotation)
      Description copied from interface: ProcessAnnotator
      Get an Annotation
      Specified by:
      getAnnotation in interface ProcessAnnotator
      Overrides:
      getAnnotation in class PamProcess
      Parameters:
      pamDataBlock - Annotated datablock
      annotation - annotation number
      Returns:
      Annotation
    • getNumAnnotations

      public int getNumAnnotations(PamDataBlock pamDataBlock)
      Specified by:
      getNumAnnotations in interface ProcessAnnotator
      Overrides:
      getNumAnnotations in class PamProcess
      Parameters:
      pamDataBlock - Annotated datablock
      Returns:
      the number of annotations
    • makeAnnotations

      public void makeAnnotations()
    • getOutputDataBlock

      public FFTDataBlock getOutputDataBlock()
      Returns:
      the outputData
    • getOfflineData

      public int getOfflineData(OfflineDataLoadInfo offlineLoadDataInfo)
      Overrides:
      getOfflineData in class PamProcess
    • getCompatibleDataUnits

      public ArrayList getCompatibleDataUnits()
      Description copied from class: PamProcess
      A list of data block class types which are compatible as parent data blocks for the PamProcess. This can return null, e.g. in the case of Acquisition process.
      Overrides:
      getCompatibleDataUnits in class PamProcess
      Returns:
      a list of PamDataBlock sub class types which can be used as parent data blocks for the process.