RespRate¶
Calculate the respiratory rate from R peaks detected from ECG or PPG data.
This node should usually be preceded by the RDetection node (or another node that outputs data in the same format, that is: the incoming packet must have a stream with the ECG or PPG time series, and a marker stream with a name ending in '-peaks' and having the detected R peaks as events). This node calculates the respiration rate (breaths per minute) over a sliding window of the defined length. The output of this node is a stream with a feature axis having a single element named RR and a time axis with the heart beat timestamps (irregular rate). The output stream name will be the same as the input stream, replacing -peaks with -resp-rate.
More Info...
Version 1.0.0
Ports/Properties¶
data¶
Data to process.
window_length¶
Sliding window length (beats or seconds). If the length of data is more than this length, the data will be segmented into this processing window. If the length of data is less than this window, the data will be buffered to get more data.
wait_full_buffer¶
Wait for the full window buffer as specified above before outputting Respiration Rate values
window_shift¶
Shift window length (beats or seconds). The processing window is shifted by this length. Therefore, it should be less than or equal to the processing window. If it is less than the processing window, there will be an overlap between two consecutive processing windows. If the shift window is the same as the processing window, then there will be no overlap between two consecutive processing windows.
window_length_unit¶
Unit in which the window length is given.
minimum_respiration_rate¶
The assumed minimum respiration rate (breaths per minute).
maximum_respiration_rate¶
The assumed maximum respiration rate (breaths per minute).
smooth_it¶
Smooth the calculated respiration rate output with an exponential decay. If False, the output will may have significant variability and is best followed by a MovingAverage node.
override_axes¶
Replace the incoming instance axis with a time axis, add a feature axis with a single element named RR. If False, a feature axis will not be added, and instead a field will be added to the incoming instance axis.
field_name¶
The name of the element in the feature axis.
set_breakpoint¶
Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.
metadata¶
User-definable meta-data associated with the node. Usually reserved for technical purposes.