Statistical Moment
Statistical moments analysis module for signal processing.
This module provides tools for computing various statistical moments from multivariate signal data. Statistical moments characterize the shape and properties of probability distributions and are fundamental in signal analysis.
The available statistical moments include: 1. Mean - Central tendency of the data 2. Standard Deviation - Dispersion around the mean 3. Skewness - Asymmetry of the distribution 4. Kurtosis - Tailedness of the distribution
Typical use cases include: 1. Signal characterization and feature extraction 2. Quality assessment of sensor data 3. Motion pattern analysis in movement data 4. Anomaly detection in time series data 5. Distribution analysis in multivariate signals
References
- Pearson, K. (1895). Contributions to the Mathematical Theory of Evolution.
- Fisher, R. A. (1925). Statistical Methods for Research Workers.
StatisticalMoment
Real time statistical moments analyzer for signal data.
This class computes various statistical moments (mean, standard deviation, skewness, kurtosis) from sliding window data to characterize signal distributions and properties.
Source code in pyeyesweb/analysis_primitives/statistical_moment.py
__call__(sliding_window, methods)
Compute statistical metrics.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
sliding_window
|
SlidingWindow
|
Buffer containing multivariate data to analyze. |
required |
methods
|
list of str
|
List of statistical methods to compute. |
required |
Returns:
| Type | Description |
|---|---|
dict
|
Dictionary containing statistical metrics. |
Source code in pyeyesweb/analysis_primitives/statistical_moment.py
compute_statistics(signals, methods)
Compute statistical analysis for multivariate signals.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
signals
|
SlidingWindow
|
Sliding window buffer containing multivariate signal data. |
required |
methods
|
list of str
|
List of statistical methods to compute. Available options: 'mean', 'std_dev', 'skewness', 'kurtosis' |
required |
Returns:
| Type | Description |
|---|---|
dict
|
Dictionary containing statistical metrics. |