clickDetector.ClickClassifiers.basicSweep
Class SweepClassifierSet
java.lang.Object
clickDetector.ClickClassifiers.basicSweep.SweepClassifierSet
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class SweepClassifierSet
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Cloneable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultSpecies
public static final transient java.lang.String[] defaultSpecies
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
name
public java.lang.String name
speciesCode
public int speciesCode
discard
public boolean discard
symbol
public PamSymbol symbol
enable
public boolean enable
CHANNELS_REQUIRE_ALL
public static final int CHANNELS_REQUIRE_ALL
- See Also:
- Constant Field Values
CHANNELS_REQUIRE_ONE
public static final int CHANNELS_REQUIRE_ONE
- See Also:
- Constant Field Values
CHANNELS_USE_MEANS
public static final int CHANNELS_USE_MEANS
- See Also:
- Constant Field Values
channelChoices
public int channelChoices
restrictLength
public boolean restrictLength
restrictedBins
public int restrictedBins
enableLength
public boolean enableLength
lengthSmoothing
public int lengthSmoothing
lengthdB
public double lengthdB
minLength
public double minLength
maxLength
public double maxLength
nControlBands
public static final transient int nControlBands
- See Also:
- Constant Field Values
enableEnergyBands
public boolean enableEnergyBands
testEnergyBand
public double[] testEnergyBand
controlEnergyBand
public double[][] controlEnergyBand
energyThresholds
public double[] energyThresholds
enablePeak
boolean enablePeak
enableWidth
boolean enableWidth
enableMean
boolean enableMean
peakSearchRange
double[] peakSearchRange
peakRange
double[] peakRange
peakWidthRange
double[] peakWidthRange
meanRange
double[] meanRange
peakSmoothing
int peakSmoothing
peakWidthThreshold
double peakWidthThreshold
enableZeroCrossings
public boolean enableZeroCrossings
nCrossings
public int[] nCrossings
zcSweep
public double[] zcSweep
SweepClassifierSet
public SweepClassifierSet()
getChannelOptionsName
public static java.lang.String getChannelOptionsName(int iOpt)
clone
protected SweepClassifierSet clone()
- Overrides:
clone in class java.lang.Object
checkEnergyParamsAllocation
public void checkEnergyParamsAllocation()
checkPeakFreqAllocation
public void checkPeakFreqAllocation()
checkZCAllocation
public void checkZCAllocation()
canProcess
public boolean canProcess(double sampleRate,
boolean verbose)
- check that the settings can be processed at the current sample rate.
- Parameters:
sampleRate - sample rate in Hzverbose - true if you want visible warning messages.
- Returns:
- true if OK, false otherwise.
needLength
protected boolean needLength()
- Returns:
- true if one or more tests require length data.
sayWarning
private boolean sayWarning(java.lang.String warningText,
boolean verbose)
setSpeciesDefaults
public boolean setSpeciesDefaults(java.lang.String species)
beakedWhaleDefaults
public void beakedWhaleDefaults()
porpoiseDefaults
public void porpoiseDefaults()