Skip to content

Data analysis scripts for "Darks elicit gamma-band activity in the human retina and visual cortex with narrower bandwidth and faster propagation time than lights"

License

Notifications You must be signed in to change notification settings

britta-wstnr/retina_cortex_darks_lights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Darks elicit gamma-band activity in the human retina and visual cortex with narrower bandwidth and faster propagation time than lights

Britta U. Westner & Sarang S. Dalal

Repository

This repository contains the data analysis scripts for Darks elicit gamma-band activity in the human retina and visual cortex with narrower bandwidth and faster propagation time than lights.

This paper is submitted, a pre-print can be found here.

The data analysis scripts are organized as follows:

Configuration file

  • project_settings.m

Processing files

Preprocess and clean the data:

  • preprocess_data.m
  • clean_erg.m
  • clean_meg.m

Prepare source localization:

  • compute_headmodels.m
  • compute_leadfields.m

Generate figures

Figure 1

  • plot_evoked.m

Figure 2

  • plot_evoked_hfo.m
  • plot_erg_itc.m together with hilbert_erg.m

Figure 3

  • plot_evoked_hfo.m

Figure 4

  • hilbert_meg.m together with prep_hilbert_meg.m

Figure 5

  • plot_itc_traces.m

Figure 6

  • plot_evoked_hfo.m

Figure 7

  • plot_itc_times.m

Figure S1

  • plot_itc_traces.m

Figure S2

  • plot_projector_specs.m

Processing functions

The folder functions contains several functions and scripts that are called by the scripts listed above.

Dependencies

A full list of dependencies can be found at the end of project_settings.m. This work uses FieldTrip for MEG and ERG data analysis.

  • FieldTrip, version 2016-05-18, for data analysis
  • FieldTrip, version 2016-07-18 with updated module nutmegtrip for plotting

About

Data analysis scripts for "Darks elicit gamma-band activity in the human retina and visual cortex with narrower bandwidth and faster propagation time than lights"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages