Class Index | File Index

Classes


Class BO.filters.Convolution


Extends BO.filters.FilterBase.

The Convolution object performs low-pass, high-pass and moving average filtering on an analog input. See Breakout/examples/filters/convolution.html for an example application.

Defined in: Convolution.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
This class performs a convolution operation of the inputs.
Field Summary
Field Attributes Field Name and Description
 
An array of coefficients to be used with product-sum operations for input buffers.
<static> <constant>  
BO.filters.Convolution.LPF
Low-pass filter kernel.
<static> <constant>  
BO.filters.Convolution.MOVING_AVERAGE
Moving average filter kernel.
Method Summary
Method Attributes Method Name and Description
 
Override FilterBase.processSample
Class Detail
BO.filters.Convolution(kernel)
This class performs a convolution operation of the inputs. A low-pass filter is used to remove fine noise and a high pass filter is used to remove drift.
Parameters:
{Number[]} kernel
An array of coefficients to be used with product-sum operations for input buffers.
Field Detail
{Number[]} coef
An array of coefficients to be used with product-sum operations for input buffers. If assigned a new array, the input buffer will be cleared.

<static> <constant> BO.filters.Convolution.LPF
Low-pass filter kernel. Use by passing this array to the constructor.

<static> <constant> BO.filters.Convolution.MOVING_AVERAGE
Moving average filter kernel. Use by passing this array to the constructor.
Method Detail
processSample(val)
Override FilterBase.processSample
Parameters:
val

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Mar 12 2012 23:27:52 GMT-0400 (EDT)