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
FieldsModifier and TypeFieldDescriptionThe name of the template.floatThe sample rate in Hzdouble[]The spectrum template data. - 
Constructor Summary
Constructors - 
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: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.
 
 
 -