timecorr.simulate_data

Contents

timecorr.simulate_data#

timecorr.simulate_data(datagen='ramping', return_corrs=False, set_random_seed=False, S=1, T=100, K=10, B=5)[source]#

Simulate timeseries data

Parameters:
datagenstr
Data generation function. Options:
  • ramping

  • block

  • constant

  • random

return_corrsbool

If true, returns the correlations used to create the data

set_random_seedbool or int

Default False (choose a random seed). If True, set random seed to 123. If int, set random seed to the specified value.

Sint

Number of subjects.

Tint

Total time

Kint

Number of features

Bint

Number of blocks

Returns:
datanp.ndarray

A samples by number of electrodes array of simulated iEEG data

sub_locspd.DataFrame

A location by coordinate (x,y,z) matrix of simulated electrode locations