COINS-MEG analysis repo.
See .gitignore
for more details of which files are ignored in commits.
Scripts in the repo should write to /ohba/pi/lhunt/datasets/coins-meg_data/derivatives
. (Note that any references to .../coins-meg_meg-analysis/derivatives
should be removed, as this was before the repository and dataset were restructured.
analysis
contains:
preprocess-maxfilter.py
which maxfilters the data.preprocess-bulk.py
which bulk-preprocesses multiple runs/multiple subjects using osl's batch preprocess toolconfig.yaml
(preprocess settings) and fnames.txt
(paths of all files to be preprocessed).preprocess.py
- can ignore; an earlier manual version of the preprocessing script, which implements each preprocessing step with MNE Python.bulkprepro-prelim-analysis.ipynb
- preliminary data visualisation and ERF plottingbulkprepro-prelim-analysis_bulk.py
- does the same thing, but bulk-runs it for specificed participants/runs, and suppresses plot pop-ups while saving them inside preprocessed/sub-{subj}/run-{run}/meg/auto-max/plots
glm-prelim.ipynb
does some very preliminary experimenting with GLM-spectrum.venv
which should be ignored as it will not work across computers.docs
contains:
coinsmeg_counterbalancing.xlsx
: information about counterbalancing of key/button-action mapping, source-volability mapping, and blocks orders within runs ('sessions').
coinsmeg_if-data-exist.csv
: does this data exist at all? Headers contain relevant subdirectory paths.
coinsmeg_if-data-in-directory.csv
: is this data in the relevant subdirectory? ('y' = yes; 'n' = no)coinsmeg_participant_notes.xlsx
: any notes relating to this participant (e.g., any issues, truncated training due to participant lateness, internal number of the MEG scan denoted by #XXX).coinsmeg_protocol.md
).experiment
contains:
ses-1-training
contains the task as set-up for initial behavioural training.ses-2-meg
contains the task as set-up for in-person testing in the MEG scanner at the OHBA centre.stimgen
subdirectories, with scripts written in MATLAB that control the generative processes for the experimental design.sub-12
.Below are the trigger descriptors/labels, corresponding trigger values, and corresponding trigger meanings.
expStart = 100; start of the experiment
expEnd = 105; end of experiment
lastFrame = 99; last frame of experiment
practiceMove = 101; practiced moving shield
practiceSize = 102; practiced changing shield size
blockStart = 10; start of block (there were 4 blocks per run)
blockEnd = 20; end of block
laserHit = 1; a laser had hit the shield (i.e., the laser was successfully caught)
laserMiss = 2; a laser had missed the shield
keyRight = 3; key pressed to move shield to the right
keyLeft = 4; key pressed to move shield to the left
keyUp = 5; key pressed to make shield size larger
keyDown = 6; key pressed to make shield size smaller
keyRelease = 7; ?