Package whistleClassifier.training
Class TrainingContour
java.lang.Object
whistleClassifier.training.TrainingContour
- All Implemented Interfaces:
Serializable
,ManagedParameters
,WhistleContour
public class TrainingContour
extends Object
implements Serializable, WhistleContour, ManagedParameters
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]
int
Get the length of the contour in time bins.Get a set of data that describes all of the parameters in a classdouble[]
void
setFreqsHz
(double[] frequencyHz) void
setTimesInSeconds
(double[] timeSeconds)
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
TrainingContour
public TrainingContour(double[] timeSeconds, double[] frequencyHz)
-
-
Method Details
-
getTimesInSeconds
public double[] getTimesInSeconds()- Specified by:
getTimesInSeconds
in interfaceWhistleContour
-
setTimesInSeconds
public void setTimesInSeconds(double[] timeSeconds) -
getFreqsHz
public double[] getFreqsHz()- Specified by:
getFreqsHz
in interfaceWhistleContour
-
setFreqsHz
public void setFreqsHz(double[] frequencyHz) -
getLength
public int getLength()Get the length of the contour in time bins.- Returns:
-
getParameterSet
Description copied from interface:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Returns:
- description of the parameters in a class.
-