Epoch functions¶
-
class
neuxus.nodes.epoch_function.
UnivariateStat
(input_port, stat, quantile=None, iqr_quantile=[None, None])[source]¶ Mean, Variance, Median, etc. on the incoming epoched Signal perform calculation on each coming epoch and save last value in value attribute and update the output
- Attributes:
output (Port): signal output port
value (float): last value calculated (on the last epoch come)
- Args:
input (Port): port of incoming epoched data
stat (str):
quantile (float between 0 and 1): default is None, used if stat is ‘quantile’, precise the quantile to calculate
iqr_quantile (list of two float between 0 and 1): default is [None, None], used if stat is ‘iqr’, precise the limit of range
Examples:
UnivariateStat(Port18, 'mean') UnivariateStat(Port18, 'quantile', quantile=0.23) UnivariateStat(Port18, 'iqr', iqr_quantile=[0.23, 0.78])
-
class
neuxus.nodes.epoch_function.
Windowing
(input_port, window)[source]¶ Apply a windowing function to the input epohed signal
- Attributes:
output (Port): epoch output port
- Args:
input (Port): port of epoched incoming data
window (str): to be choosen between [‘blackman’, ‘hanning’, ‘hamming’, ‘triang’]
- Example:
Windowing(Port48, ‘blackman’)