Example scripts for reproducing the results in Gohil et al. (2024). If you find these scripts useful, please cite:
Gohil, C., Kohl, O., Huang, R., van Es, M. W., Parker Jones, O., Hunt, L. T., ... & Woolrich, M. W. (2024). Dynamic network analysis of electrophysiological task data. Imaging Neuroscience, 2, 1-19.
1_preproc_and_source_recon
: Preprocessing for the sensor-level MEG data and source reconstruction to estimate parcel time courses.2_conventional_sensor_level_analysis
: Conventional time-frequency response analysis applied to the preprocessed sensor-level data.3_conventional_parcel_level_analysis
: Conventional time-frequency response analysis applied to the parcel data.4_hmm_network_analysis
: HMM network inference applied to the parcel data and network response analysis.5_dynemo_network_analysis
: DyNeMo network inference applied to the parcel data and network response analysis.
To run these scripts you need to install osl-ephys and osl-dynamics. See the instructions here to install these packages.
You can email chetan.gohil@psych.ox.ac.uk if you run into errors, need help or spot any typos. Alternatively, please open an issue on this repository.