frites.simulations.sim_local_cd_ms#

frites.simulations.sim_local_cd_ms(n_subjects, **kwargs)[source]#

Multi-subjects simulations for computing local MI (CD).

This function can be used for simulating local representations of mutual information between a continuous and a discret variables (CD) for a single subject.

Parameters
n_subjectspython:int

Number of subjects

kwargspython:dict | {}

Additional arguments are send to the function sim_local_cd_ss()

Returns
xpython:list

List length n_subjects composed of data arrays each one with a shape of (n_epochs, n_channels, n_times)

ypython:list

List of length n_subjects composed of regressor arrays each one with a shape of (n_epochs)

roipython:list

List of length n_subjects composed of roi arrays each one with a shape of (n_roi)

timesnumpy:array_like

Time vector of shape (n_times,)

Examples using frites.simulations.sim_local_cd_ms#

Investigate relation of order

Investigate relation of order