Based on the task developed by Konish et al., I am working on a enhanced verison of the task. The task uses a n-back memory paradigm intending to induce mind-wandering.
Reference:
Konishi, M., McLaren, D. G., Engen, H., & Smallwood, J. (2015). Shaped by the past: the default mode network supports cognition that is independent of immediate perceptual input. PloS One, 10(6), e0132209. http://doi.org/10.1371/journal.pone.0132209
Please see the summary of the paradigmn here
├── LICENSE
├── README.md <- The top-level README for developers using this project.
├── settings.py <- Enviromnetal setting of the task.
├── run.py <- The main experiment program.
├── example_trial_generator.py
| <- The example of the trial generator.
├── instructions <- Instructions .txt files.
├── data <- Data generated from the task. Read-only.
├── parameters <- Trial generation specification files.
├── references <- Supplemental details of the paradigmn.
├── src <- Source code for use in this project.
└── stimuli <- stimulus photos and experience sampling questions
The current version was tested on: Python 3.7.5 Psychopy 2020.2.4post1
Execute run.py through commend line:
python run.py
Currently the experiment length, probe number, condition order are set through files in parameters
and module datastructure
.
The content of parameters/ConditionsSpecifications_ES.csv
determine the condition switching structure.
The current file populate a design of two blocks, starting with a zero-back block, and two type of go trials.
Please see example_trial_generator.py
for details related to the module datastructure
.
Change the questions/scales/lable in stimuli/ES_questions.csv
.
Please leave the headers untouch.
'#' is used as page breaker. The text in between curly breackates {} changes in the experiment. Please do not modify the text inside the breakets.
This script supports the buttom boxes set-up in York Neuroimaging Centre. The two buttom boxes are mapped to number 1 to 4 and 6 to 9 on a regular keyboard. Number 5 is linked to MRI trigger setting.
If your neuroimaging centre uses the same set up, there's no need to modify the code. If you use parallel port, please contact your local support to find out the setting and modify the code yourself.
The dummy volumes are accounted for in the scanner used at York.
If you require manual set up, please modify the variable in run.py
accordingly.
Or write a parallel port module fitting your own setup to map respond buttons to key 1 to 9. (Highly recommended.)