frites.simulations.sim_local_cc_ms#
- frites.simulations.sim_local_cc_ms(n_subjects, random_state=None, **kwargs)[source]#
Multi-subjects simulations for computing local MI (CC).
This function can be used for simulating local representations of mutual information between two continuous variables (CC) across multiple subjects.
- Parameters
- n_subjects
python:int
Number of subjects
- kwargs
python:dict
| {} Additional arguments are send to the function
sim_local_cc_ss()
- n_subjects
- Returns
- x
python:list
List length n_subjects composed of data arrays each one with a shape of (n_epochs, n_channels, n_times)
- y
python:list
List of length n_subjects composed of regressor arrays each one with a shape of (n_epochs)
- roi
python:list
List of length n_subjects composed of roi arrays each one with a shape of (n_roi)
- timesnumpy:array_like
Time vector
- x
Examples using frites.simulations.sim_local_cc_ms
#
Estimate the empirical confidence interval
Estimate the empirical confidence interval