Class SpectrumTemplateParams
java.lang.Object
clickTrainDetector.classification.templateClassifier.SpectrumTemplateParams
- All Implemented Interfaces:
Serializable
,Cloneable
,ManagedParameters
public class SpectrumTemplateParams
extends Object
implements Serializable, Cloneable, ManagedParameters
Parameters class for the spectrum template. This is used because a PamDataUnit is not
a good idea to clone and serialise. Only used for saving, not used throughout program.
- Author:
- Jamie Macaulay
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionThe name of the template.float
The sample rate in Hzdouble[]
The spectrum template data. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Get a set of data that describes all of the parameters in a class
-
Field Details
-
sampleRate
public float sampleRateThe sample rate in Hz -
template
public double[] templateThe spectrum template data. -
name
The name of the template.
-
-
Constructor Details
-
SpectrumTemplateParams
-
-
Method Details
-
clone
-
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.
-