Package gpl

Class GPLParameters

java.lang.Object
gpl.GPLParameters
All Implemented Interfaces:
Serializable, Cloneable, ManagedParameters

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

    • serialVersionUID Link icon

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

      public String description
      Generic description for this parameter set used by the default parameters list. .
    • importFile Link icon

      public String importFile
      Name of a file settings were imported from. Easiest to keep this separate from the freeform text.
    • fftSourceName Link icon

      public String fftSourceName
      Data source name (FFT or beam former data)
    • sequenceMap Link icon

      public int sequenceMap
      Channel / sequence map for processing (might replace this with full detection grouping ?)
    • minFreq Link icon

      public double minFreq
      Minimum frequency for analysis. Currently used both in whitener and contour detector. If allowing multiple bands, may have to separate this for the different bands.
    • maxFreq Link icon

      public double maxFreq
      As minFreq above.
    • backgroundTimeSecs Link icon

      public double backgroundTimeSecs
      Time constant for background whitener and also for blocking of data.
    • white_fac_x Link icon

      public double white_fac_x
      Whitening factor for first whitening over backgroundTimeSecs duration of data. Used in Base3xWhitener and is a scaling factor used to increase the mean subtracted from the spectrogram, i.e. if X is the spectrogram and mu is the mean value of the spectrogram, then the white spectrogram is X-white_fac_x*mu. In Matlab code this is the 'fac' passed to whiten_matrix in GPL_whiten.
      So far as I can see, this doesn't appear in H et al. If it did, it would scale the mu term in equations 17 and 18.
    • xp1 Link icon

      public double xp1
      This is nu1 in H et al. eq 6. Used as xp1 in Matlab GPL_Quiet. This is the scale factor that will emphasise tonal signals.
      Note that in code the spec is raised to this power to calculate bas, but then it all get's squared again to make baseline0, so this is nu1, not 2nu1.
    • xp2 Link icon

      public double xp2
      This is nu2 in H et al. eq 6. Used as xp1 in Matlab GPL_Quiet. This is the scale factor that will emphasise broad band transients.
      Note that in code the spec is raised to this power to calculate bas, but then it all get's squared again to make baseline0, so this is nu1, not 2nu1.
    • noise_ceiling Link icon

      public double noise_ceiling
      This is possibly better thought of as a 'low threshold', final detector finds regions that go above this, but only accepts them as detections if at least a bin goes above the higher 'thresh' value.
    • thresh Link icon

      public double thresh
      See above. Main detection threshold .
    • minPeakGap Link icon

      public int minPeakGap
      Minimum gap between peaks in the detector.
    • minCallLengthSeconds Link icon

      public double minCallLengthSeconds
      Used to select a peak from the detector. Would this be better used on individual contours ?
    • maxCallLengthSeconds Link icon

      public double maxCallLengthSeconds
      Used to select a peak from the detector. Would this be better used on individual contours ?
    • contourCut Link icon

      public double contourCut
      cut in HT. Threshold for contour detection.
    • connectType Link icon

      public GPLParameters.ConnectType connectType
      Type of contour connector: 4 = sides only, 8 = sides and diagonals.
    • minContourArea Link icon

      public int minContourArea
      Min contour area to be kept. fixed value of 10 in HT
    • contourMerge Link icon

      public ContourMerge contourMerge
      What to do with multiple contour patches within a single 'detection'
    • blockParams Link icon

      public PamBlockParams blockParams
      Params controlling blocking of data
    • keepNullContours Link icon

      public boolean keepNullContours
      Keep GPL detections even if they don't have any detected contours.
  • Constructor Details Link icon

    • GPLParameters Link icon

      public GPLParameters(String name, double minFreq, double maxFreq, double backgroundTimeSecs, double white_fac_x, double xp1, double xp2, double noise_ceiling, double thresh, int minPeakGap, double minCallLengthSeconds, double maxCallLengthSeconds)
    • GPLParameters Link icon

      public GPLParameters()
  • Method Details Link icon