Package gpl
Class GPLParameters
java.lang.Object
gpl.GPLParameters
- All Implemented Interfaces:
 Serializable,Cloneable,ManagedParameters
- See Also:
 
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleTime constant for background whitener and also for blocking of data.Params controlling blocking of dataType of contour connector: 4 = sides only, 8 = sides and diagonals.doublecut in HT.What to do with multiple contour patches within a single 'detection'Generic description for this parameter set used by the default parameters list.Data source name (FFT or beam former data)Name of a file settings were imported from.booleanKeep GPL detections even if they don't have any detected contours.doubleUsed to select a peak from the detector.doubleAs minFreq above.doubleUsed to select a peak from the detector.intMin contour area to be kept.doubleMinimum frequency for analysis.intMinimum gap between peaks in the detector.doubleThis 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.intChannel / sequence map for processing (might replace this with full detection grouping ?)static final longdoubleSee above.doubleWhitening factor for first whitening over backgroundTimeSecs duration of data.doubleThis is nu1 in H et al.doubleThis is nu2 in H et al. - 
Constructor Summary
ConstructorsConstructorDescriptionGPLParameters(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)  - 
Method Summary
Modifier and TypeMethodDescriptionclone()Get a set of data that describes all of the parameters in a class 
- 
Field Details
- 
serialVersionUID
public static final long serialVersionUID- See Also:
 
 - 
description
Generic description for this parameter set used by the default parameters list. . - 
importFile
Name of a file settings were imported from. Easiest to keep this separate from the freeform text. - 
fftSourceName
Data source name (FFT or beam former data) - 
sequenceMap
public int sequenceMapChannel / sequence map for processing (might replace this with full detection grouping ?) - 
minFreq
public double minFreqMinimum 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
public double maxFreqAs minFreq above. - 
backgroundTimeSecs
public double backgroundTimeSecsTime constant for background whitener and also for blocking of data. - 
white_fac_x
public double white_fac_xWhitening 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
public double xp1This 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
public double xp2This 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
public double noise_ceilingThis 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
public double threshSee above. Main detection threshold . - 
minPeakGap
public int minPeakGapMinimum gap between peaks in the detector. - 
minCallLengthSeconds
public double minCallLengthSecondsUsed to select a peak from the detector. Would this be better used on individual contours ? - 
maxCallLengthSeconds
public double maxCallLengthSecondsUsed to select a peak from the detector. Would this be better used on individual contours ? - 
contourCut
public double contourCutcut in HT. Threshold for contour detection. - 
connectType
Type of contour connector: 4 = sides only, 8 = sides and diagonals. - 
minContourArea
public int minContourAreaMin contour area to be kept. fixed value of 10 in HT - 
contourMerge
What to do with multiple contour patches within a single 'detection' - 
blockParams
Params controlling blocking of data - 
keepNullContours
public boolean keepNullContoursKeep GPL detections even if they don't have any detected contours. 
 - 
 - 
Constructor Details
- 
GPLParameters
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
public GPLParameters() 
 - 
 - 
Method Details
- 
clone
 - 
getParameterSet
Description copied from interface:ManagedParametersGet a set of data that describes all of the parameters in a class- Specified by:
 getParameterSetin interfaceManagedParameters- Returns:
 - description of the parameters in a class.
 
 
 -