Package decimator
Class DecimatorParams
java.lang.Object
decimator.DecimatorParams
- All Implemented Interfaces:
Serializable,Cloneable,ManagedParameters
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionintintfloatstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionCreate decimator params with a nominal output sample rate of 2Kz and a 6th order low pass filterDecimatorParams(float newSampleRate) Create decimator parameters with the given output frequency and a 6th order low pass filter.DecimatorParams(float newSampleRate, int filterOrder) Create decimator parameters with the given output frequency and a low pass filter with given order. -
Method Summary
Modifier and TypeMethodDescriptionclone()Get a set of data that describes all of the parameters in a class
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
rawDataSource
-
newSampleRate
public float newSampleRate -
channelMap
public int channelMap -
filterParams
-
interpolation
public int interpolation
-
-
Constructor Details
-
DecimatorParams
public DecimatorParams()Create decimator params with a nominal output sample rate of 2Kz and a 6th order low pass filter -
DecimatorParams
public DecimatorParams(float newSampleRate) Create decimator parameters with the given output frequency and a 6th order low pass filter.- Parameters:
newSampleRate-
-
DecimatorParams
public DecimatorParams(float newSampleRate, int filterOrder) Create decimator parameters with the given output frequency and a low pass filter with given order.- Parameters:
newSampleRate-filterOrder- filter order
-
-
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.
-