Detrend¶
Remove trends from the given data.
For instance, linear slopes or constant offsets. Important: when detrending along time, note that this filter detrends each chunk separately -- on streaming data, these chunks can be very short and have variable length, so you almost certainly want to do this on extracted segments (see, e.g., Segmentation node for how to do this). 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: INOUT
method¶
Type of trend to remove. Constant will remove constant offsets, and linear will remove linear slopes.
- verbose name: Type Of Trend
- default value: linear
- port type: EnumPort
- value type: str (can be None)
axis¶
Axis along which to remove trends. For instance, using frequency here means that linear slopes along the frequency axis will be removed (if the data has a frequency axis). Rarely anything other than 'time' is used here.
- verbose name: Detrend Along Axis
- default value: time
- port type: ComboPort
- value type: str (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)