AdaptiveThreshold¶
Calculate adaptive threshold.
Calculate threshold based on the following equation: Th = MED + alpha x MAD x 1.4826, where MED is the median of the given data, MAD is median absolute deviation, and alpha and beta are constant. The default values for alpha and beta based on [1] set to: alpha = 3 [1] https://pdfs.semanticscholar.org/07be/e9c26ac092bd8ea1c0b907fb6eabba145ce4.pdf Version 1.0.0
Ports/Properties¶
data¶
Data to process.
- verbose name: Data
- default value: None
- port type: DataPort
- value type: Packet (can be None)
- data direction: IN
outdata¶
Calculated threshold.
- verbose name: Outdata
- default value: None
- port type: DataPort
- value type: float (can be None)
- data direction: OUT
alpha¶
Threshold in (robust) standard deviations.
- verbose name: Alpha
- default value: 3.0
- port type: FloatPort
- value type: float (can be None)
set_breakpoint¶
Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.
- verbose name: Set Breakpoint (Debug Only)
- default value: False
- port type: BoolPort
- value type: bool (can be None)
metadata¶
User-definable meta-data associated with the node. Usually reserved for technical purposes.
- verbose name: Metadata
- default value: {}
- port type: DictPort
- value type: dict (can be None)