Class WhistleToneParameters

java.lang.Object
PamView.GroupedSourceParameters
whistlesAndMoans.WhistleToneParameters
All Implemented Interfaces:
Serializable, Cloneable, ManagedParameters

public class WhistleToneParameters extends GroupedSourceParameters implements Serializable, Cloneable, ManagedParameters
See Also:
  • Field Details Link icon

    • serialVersionUID Link icon

      public static final long serialVersionUID
      See Also:
    • FRAGMENT_NONE Link icon

      public static final int FRAGMENT_NONE
      See Also:
    • FRAGMENT_DISCARD Link icon

      public static final int FRAGMENT_DISCARD
      See Also:
    • FRAGMENT_FRAGMENT Link icon

      public static final int FRAGMENT_FRAGMENT
      See Also:
    • SHORT_SHOWALL Link icon

      public static final int SHORT_SHOWALL
      Policy for showing short whistles on the spectrogram.
      See Also:
    • SHORT_HIDEALL Link icon

      public static final int SHORT_HIDEALL
      See Also:
    • SHORT_SHOWGREY Link icon

      public static final int SHORT_SHOWGREY
      See Also:
    • minPixels Link icon

      public int minPixels
    • minLength Link icon

      public int minLength
    • maxCrossLength Link icon

      public int maxCrossLength
    • fragmentationMethod Link icon

      public int fragmentationMethod
    • showContourOutline Link icon

      public boolean showContourOutline
      Show the full contour outline - not just the peak line
    • keepShapeStubs Link icon

      public boolean keepShapeStubs
      Keep short stubs sticking out of main contour. Using -ve of default so that old parameter sets go to default. Default is now to remove them. May 2021
    • stretchContours Link icon

      public boolean stretchContours
      On long spec displays stretch the contour so that the start time is correct, but it then uses 1 pixel per fft bin.
    • shortLength Link icon

      public int shortLength
      Length of short whistles.
    • shortShowPolicy Link icon

      public int shortShowPolicy
  • Constructor Details Link icon

    • WhistleToneParameters Link icon

      public WhistleToneParameters()
  • Method Details Link icon

    • setDataSource Link icon

      public void setDataSource(String dataSource)
      Overrides:
      setDataSource in class GroupedSourceParameters
      Parameters:
      dataSource - the dataSource to set
    • getConnectType Link icon

      public int getConnectType()
      Returns:
      the connectType
    • setConnectType Link icon

      public void setConnectType(int connectType)
      Parameters:
      connectType - the connectType to set
    • getMinFrequency Link icon

      public double getMinFrequency()
      Returns:
      the minFrequency
    • setMinFrequency Link icon

      public void setMinFrequency(double minFrequency)
      Parameters:
      minFrequency - the minFrequency to set
    • getMaxFrequency Link icon

      public double getMaxFrequency(double sampleRate)
      Returns:
      the maxFrequency
    • setMaxFrequency Link icon

      public void setMaxFrequency(double maxFrequency)
      Parameters:
      maxFrequency - the maxFrequency to set
    • getSpecNoiseSettings Link icon

      public SpectrogramNoiseSettings getSpecNoiseSettings()
      Returns:
      the specNoiseSettings
    • setSpecNoiseSettings Link icon

      public void setSpecNoiseSettings(SpectrogramNoiseSettings specNoiseSettings)
      Parameters:
      specNoiseSettings - the specNoiseSettings to set
    • getParameterSet Link icon

      public PamParameterSet getParameterSet()
      Description copied from class: GroupedSourceParameters
      Note that all the fields have getters, so even though they are private they will still be included in the output so we don't need to explicitly add them here
      Specified by:
      getParameterSet in interface ManagedParameters
      Overrides:
      getParameterSet in class GroupedSourceParameters
      Returns:
      description of the parameters in a class.
    • clone Link icon

      public WhistleToneParameters clone()
      Overrides:
      clone in class GroupedSourceParameters
    • getBackgroundInterval Link icon

      public double getBackgroundInterval()
      Interval in seconds between background noise measurements
      Returns:
      the backgroundInterval
    • setBackgroundInterval Link icon

      public void setBackgroundInterval(double backgroundInterval)
      Interval in seconds between background noise measurements
      Parameters:
      backgroundInterval - the backgroundInterval to set