Software
Here you can find open-source software developed by our team. Feel free to contribute!
Preprocessing of MEG/EEG
The meeg-tools package serves as a cookbook for preprocessing and analysing EEG/MEG signals in a semiautomatic and reproducible way. The general use-case of the package is to import its methods into an interactive Jupyter Notebook. The tutorials folder contains notebooks that document the preprocessing steps and demonstrate data operations and transformations steps. The preprocessing.py module contains the functions that can be used to clean data using MNE-Python.
Interactive MEG/EEG preprocessing tutorial
This tutorial demonstrates how to preprocess EEG/MEG data using the meeg-tools package within a Jupyter notebook.
Interactive time-frequency analysis tutorial for preprocessed epochs (ERP, power)
This tutorial demonstrates the basic analysis steps for performing time-frequency analysis on epochs using MNE-Python.
Analysis of dynamic functional connectivity
The connectivity.py module contains the functions that can be used to perform connectivity analysis using MNE-Python.
Verbal N-back task
This task was created with the jsPsych library. In the task, letters appear sequentially on the screen, requiring users to press “J” for target elements and “F” for non-target elements. The target stimulus varies across task levels, beginning with written instructions and a 10-trial practice session providing feedback on responses. Following practice, two blocks of 50 trials each commence, separated by a self-paced rest period, with feedback provided on overall success rate and reaction time after the second block. The task offers four versions: 0-back, 1-back, 2-back, and 3-back tasks.
Card sorting task
A card sorting task created with the jsPsych library. In the card sorting task, four cards with distinct color, number, and shape properties are displayed on the screen, followed by a fifth card. Users must classify the fifth card based on either color, number, or shape by selecting one of the four upper cards. Feedback is provided after each classification (Correct or Wrong), although the underlying rule (color, number, or shape) remains unknown to the user. The rule changes after 10 consecutive correct answers, following the sequence: color, shape, number, color, shape, number.
Verbal short-term memory task (Digit Span Task)
The Digit Span Task, developed with jsPsych, displays one digit per second on the screen, and users need to remember them in the order they appear. After a series of digits, a text box appears for users to type their response, which they can submit by clicking ‘Continue’ or pressing Enter. The task begins with two practice rounds and progresses through seven levels, where users must recall increasingly longer digit sequences. To advance to the next level, users need to answer correctly in at least three out of four trials; otherwise, the task ends.
Response Inhibition (Go-NoGo Task)
This Response Inhibition Task (Go/NoGo) is created with JSPsych. The task displays a grid of four squares, each containing a blue star, occasionally revealing either a P or an R letter. Participants are initially instructed to press the space button upon sighting the letter P (Go) and withhold responses for the letter R (No-Go), then roles are reversed in the second phase. After practice sessions and trials, participants receive on-screen accuracy feedback, and data are downloadable in .csv format.
Probabilistic sequence learning task (ASRT task)
A self-paced Alternating Serial Reaction Time (ASRT) task created with the jsPsych library. Developed with the jsPsych library, it adapts seamlessly to the Gorilla experimental platform and supports multiple languages. In the task, participants are presented with four circles on the screen, each containing a target stimulus (a dog’s head). Their task is to press the corresponding response key as accurately and quickly as possible. The task includes practice blocks and 20 ASRT blocks, with personalized feedback provided after each block. Data is saved in CSV format for analysis.
ASRT Process Dissocation Procedures (PDP) Task
A Process Dissociation Procedures Task was constructed for the ASRT paradigm using the jsPsych library. It involves two sections: one where participants replicate the ASRT task sequence and another where they generate a sequence not seen before. Stimuli presentation is controlled by users, and each section comprises four blocks, ending after 24 valid keypresses per block.