Class Index | File Index

Classes


Class BO.filters.TriggerPoint


Extends BO.filters.FilterBase.

Divides an input to 0 or 1 based on the threshold and hysteresis. You can also use multiple points by providing a nested array such as [[0.4, 0.1], [0.7, 0.05]]. See Breakout/examples/filters/triggerpoint.html for an example application.

Defined in: TriggerPoint.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Divides an input to 0 or 1 based on the threshold and hysteresis.
Method Summary
Method Attributes Method Name and Description
 
addPoint(threshold, hysteresis)
 
Override FilterBase.processSample
 
 
removePoint(threshold)
Class Detail
BO.filters.TriggerPoint(points)
Divides an input to 0 or 1 based on the threshold and hysteresis. You can also use multiple points by providing a nested array such as [[0.4, 0.1], [0.7, 0.05]].
Parameters:
{Number[]} points
An array of threshold and hysteresis values operations for input buffers.
Method Detail
addPoint(threshold, hysteresis)
Parameters:
threshold
hysteresis

processSample(val)
Override FilterBase.processSample
Parameters:
val

removeAllPoints()

removePoint(threshold)
Parameters:
threshold

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