osl_dynamics.analysis.post_hoc#
Helper functions for post-hoc analysis.
Functions#
|
Auto/cross-correlation function from the mode covariance matrices. |
|
Covariance matrix of the raw channels. |
|
Reverses the effect of PCA on covariance matrices. |
|
Calculate state activations from a state time course. |
|
Calculate state lifetimes from a state time course. |
|
Calculate statistics of the lifetime distribution of each state. |
|
Calculate the mean lifetime of each state. |
|
Calculate state intervals from a state time course. |
|
Calculate statistics of the interval distribution of each state. |
|
Calculate the mean interval of each state. |
|
Calculate the fractional occupancy. |
|
Calculate the switching rate. |
|
Calculate mean amplitude for bursts. |
|
Calculate the Fano factor. |
|
Calculate session-specific transition probability matrices. |
|
Calculate simple moving average. |
|
Calculate partial covariances. |
|
HMM dual estimation of observation model parameters. |
|
Dual estimation of HMM features. |