nifreeze.analysis.filtering module¶
Analysis data filtering.
- nifreeze.analysis.filtering.normalize(x: ndarray)[source]¶
Normalize data using the z-score.
The z-score normalization is computed as:
\[z_i = \frac{x_i - \mu}{\sigma}\]where $x_i$ is the framewise displacement at point $i$, $mu$ is the mean of all values, $sigma$ is the standard deviation of the values, and $z_i$ is the normalized z-score.