Tutorials

The following tutorials contain the workflow and code to simulate and visualize commonly studied M/EEG signals including event related potentials and low frequency rhythms in the alpha, beta and gamma bands. The tutorial workflows, and all parameter values used, are based on the detailed tutorials provided on the HNN GUI website, and reproduce a subset of examples and figures in the more elaborated GUI tutorials using the HNN-core API.

We strongly recommend that you first go through the background information provided on the HNN website and each of the HNN GUI tutorials, after which the code and instructions in these HNN-core tutorials will be clearer. All tutorials build from our prior publications investigating the origin of ERPs and brain rhythms in the somatosensory system, and parameter and data sets are provided to help users get started.

01. Simulate Event Related Potentials (ERPs)

01. Simulate Event Related Potentials (ERPs)

02. Simulate Alpha and Beta Rhythms

02. Simulate Alpha and Beta Rhythms

03. Simulate Gamma Rhythms

03. Simulate Gamma Rhythms

04. From MEG sensor-space data to HNN simulation

04. From MEG sensor-space data to HNN simulation

05. Simulate beta modulated ERP

05. Simulate beta modulated ERP

How to

These are short examples that show how to use HNN-core API to accomplish specific tasks.

01. Plot firing pattern

01. Plot firing pattern

02. Record extracellular potentials

02. Record extracellular potentials

03. Modifying local connectivity

03. Modifying local connectivity

04. Use MPI backend for parallelization

04. Use MPI backend for parallelization

05. Optimize simulated evoked response parameters

05. Optimize simulated evoked response parameters

06. Animating HNN simulations

06. Animating HNN simulations

07. Batch Simulation

07. Batch Simulation

08. Optimize simulated rhythmic responses

08. Optimize simulated rhythmic responses

Gallery generated by Sphinx-Gallery