Package matchedTemplateClassifer
Class MatchTemplate
java.lang.Object
matchedTemplateClassifer.MatchTemplate
- All Implemented Interfaces:
Serializable
,Cloneable
,RawDataHolder
,ManagedParameters
public class MatchTemplate
extends Object
implements RawDataHolder, Serializable, Cloneable, ManagedParameters
Stores information for a click template
- Author:
- Jamie Macaulay
- See Also:
-
Field Details
-
sR
public float sR -
waveform
public double[] waveform -
name
-
-
Constructor Details
-
MatchTemplate
-
-
Method Details
-
clone
-
toString
-
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.
-
getWaveData
public double[][] getWaveData()Description copied from interface:RawDataHolder
Get arrays of raw audio data, one per channel. Assume that the array matches getChannelMap() !- Specified by:
getWaveData
in interfaceRawDataHolder
- Returns:
- arrays of raw data by channel
-
getDataTransforms
Description copied from interface:RawDataHolder
Get the raw data transforms class. This handles standard data transforms that are often used in raw data units, e.g. calculating the spectrum, filtering waveforms, getting data as an int16 (short) array, etc.- Specified by:
getDataTransforms
in interfaceRawDataHolder
- Returns:
- the data transforms object.
-