Package Spectrogram

Class SpectrogramParameters

java.lang.Object
userDisplay.UserFrameParameters
Spectrogram.SpectrogramParameters
All Implemented Interfaces:
Serializable, Cloneable, ManagedParameters

public class SpectrogramParameters extends UserFrameParameters implements Serializable, Cloneable, ManagedParameters
These are the parameter settings for a single spectrogram window, note tha a single spectrogram tab may have multiple windows
Author:
Doug Gillespie

See Also:
  • Field Details Link icon

    • sourceName Link icon

      public String sourceName
    • windowName Link icon

      public String windowName
    • nPanels Link icon

      public int nPanels
    • hideSidePanels Link icon

      public boolean hideSidePanels
    • channelList Link icon

      public int[] channelList
      To make a whistle detector type display with different overlays on each panel, channelList needs to be a list rather than a bit map so that each panel can, if it wants, display the same data.

      Note that channelList may actually refer to sequence numbers and not channels, depending on the FFT data source

    • frequencyLimits Link icon

      public double[] frequencyLimits
      Frequency limits for display
    • amplitudeLimits Link icon

      public double[] amplitudeLimits
      Limits of amplitude range
    • horizontalSplitLocation Link icon

      public Integer horizontalSplitLocation
    • hideViewerSpectrogram Link icon

      public boolean hideViewerSpectrogram
      flag to say don't show raw data in viewer mode.
    • wrapDisplay Link icon

      public boolean wrapDisplay
      Wraps display if this is true (defalt)
    • timeScaleFixed Link icon

      public boolean timeScaleFixed
      Fixed time scale, if this is false, then it's based on the number of pixels and a set number of slices per pixel
    • displayLength Link icon

      public double displayLength
      Display length in seconds.
    • pixelsPerSlics Link icon

      public int pixelsPerSlics
      Used if timeScaleFixed is false to set the scale
    • showScale Link icon

      public boolean showScale
    • showWaveform Link icon

      public boolean showWaveform
      Also show the waveform display under the spectrogram
    • autoScaleWaveform Link icon

      public boolean autoScaleWaveform
    • showPluginDisplay Link icon

      public boolean[] showPluginDisplay
    • useSpectrogramMarkObserver Link icon

      public boolean[] useSpectrogramMarkObserver
  • Constructor Details Link icon

    • SpectrogramParameters Link icon

      public SpectrogramParameters()
  • Method Details Link icon

    • channelUsers Link icon

      public int channelUsers(int iChannel)
      Get a bitmap of plot numbers which use a particular channel. 0 means it's not used at all. 1, by panel 0, 3 by panels 0 and 1, etc.
      Parameters:
      iChannel -
      Returns:
    • getColourMap Link icon

      public ColourArray.ColourArrayType getColourMap()
    • setColourMap Link icon

      public void setColourMap(ColourArray.ColourArrayType colourMap)
    • clone Link icon

      public SpectrogramParameters clone()
    • getOverlayDataInfo Link icon

      public OverlayDataInfo getOverlayDataInfo(PamDataBlock dataBlock, int panelId)
      Get overlay data information for a given panel and datablock.
      Parameters:
      dataBlock - Data block
      panelId - panel index / id
      Returns:
      Overlay Data information.
    • getFftBlockIndex Link icon

      public int getFftBlockIndex()
      Shouldn't be used, just there for legacy configurations. Data block should be identified only by name.
      Returns:
      the fftBlockIndex
    • getParameterSet Link icon

      public PamParameterSet getParameterSet()
      Description copied from interface: ManagedParameters
      Get a set of data that describes all of the parameters in a class
      Specified by:
      getParameterSet in interface ManagedParameters
      Overrides:
      getParameterSet in class UserFrameParameters
      Returns:
      description of the parameters in a class.