dyconnmap.sim_models package

Submodules

dyconnmap.sim_models.makinen module

Notes

Based on the MATLAB code from http://www.cs.bris.ac.uk/home/rafal/phasereset/phase.zip



Yeung

Yeung, N., Bogacz, R., Holroyd, C. B., Nieuwenhuis, S., & Cohen, J. D. (2007). Theta phase resetting and the error‐related negativity. Psychophysiology, 44(1), 39-49.

Makinen

Mäkinen, V., Tiitinen, H., & May, P. (2005). Auditory event-related responses are generated independently of ongoing brain activity. Neuroimage, 24(4), 961-968.

dyconnmap.sim_models.makinen.makinen(frames, epochs, fs, min_fr, max_fr, rng=None)[source]

Makinen

Parameters
  • frames (int) – Number of signal frames per each trial.

  • epochs (int) – Number of simulated trials.

  • fs (float) – Sampling frequency.

  • min_fr – Minimum frequency of the sinusoid which is being reset.

  • max_fr – Maximum frequency of the sinusoid which is being reset.

  • rng (object or None) – An object of type numpy.random.RandomState

dyconnmap.sim_models.makinen.phasereset(frames, epochs, fs, min_fr, max_fr, rng=None)[source]

Phasereset

Parameters
  • frames

  • epochs

  • fs

  • min_fr

  • max_fr

  • rng (object or None) – An object of type numpy.random.RandomState

Module contents

dyconnmap.sim_models.makinen(frames, epochs, fs, min_fr, max_fr, rng=None)[source]

Makinen

Parameters
  • frames (int) – Number of signal frames per each trial.

  • epochs (int) – Number of simulated trials.

  • fs (float) – Sampling frequency.

  • min_fr – Minimum frequency of the sinusoid which is being reset.

  • max_fr – Maximum frequency of the sinusoid which is being reset.

  • rng (object or None) – An object of type numpy.random.RandomState

dyconnmap.sim_models.phasereset(frames, epochs, fs, min_fr, max_fr, rng=None)[source]

Phasereset

Parameters
  • frames

  • epochs

  • fs

  • min_fr

  • max_fr

  • rng (object or None) – An object of type numpy.random.RandomState