Skip to content

RealityBending/RestingState

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Replicable Resting State Task (ReReST)

DOI

This repository contains an open-source resting state task implemented in jsPsych that can be run from the browser:

Installation

No installation required! You can run it directly out-of-the box using the following link.

If you want to run it locally (e.g., to customize it):

  • download the whole repository
  • Unzip it
  • Open index.html in a web browser (e.g., in Chrome).

You can also edit the html file (e.g., using notepad), as well as the RestingState.js file to easily customize things like the duration, etc.

Features

  • Eyes-closed
    • Minimize eyes-related artifacts for EEG
    • Increase participant's comfort
  • 8 min
    • Long-enough to reliably capture multimodal features
    • Can skip for testing purposes it by pressing "s"
    • Customizable duration
  • Standardized post resting-state assessment
    • Using the ARSQ (Diaz et al., 2014)
    • 21 questions, 7 dimensions (+ 2 manipulation check items)
  • Customizable trigger for photosensor (to mark events in EEG / bio devices)
  • An R function to preprocess and tidy-up the data
    • Load the function directly from the internet:
    • source("https://raw.githubusercontent.com/RealityBending/RestingState/main/preprocessing.R")
    • Run it on the JSON file saved at the end of the task
    • preprocess_RestingState(S01_RestingState.json)
    • Enjoy clean data
  • Webcam recording
    • Activate webcam recording by setting record_webcam = true in RestingState.js
  • Community-driven state of the art
    • If you have any remarks, opinions or thoughts about possible improvements, please contribute by opening an issue and letting us know what you think!

Citation

Scientific Background

Eyes-closed vs. Eyes-opened

  • TODO: Review arguments in favour / against.

Duration

  • TODO: Arguments for given duration
  • TODO: Study about HRV + EEG Complexity + EEG Frequency indices stability

Post RS assessment

Different questionnaires were used to assess subjective experiences and inner thoughts during resting state to potentially explore how it relates to brain and bodily activity.

  • Amsterdam Resting State Questionnaire 2.0 (ARSQ)
    • Short version with 3 items per scale (total items = 21)
    • We didn't keep the "new" factors to keep it short (it seems like they capture relatively less important and stable aspects of RS). However, if need be, these dimensions can be added by simply uncommenting them in the file.

Neuro-behavioural Associations

EEG Microstates

Pipinis et al. (2016) showed associations between microstate B and Comfort, and microstate C and Somatic Awareness (SA).

EEG Complexity

TODO.

Heart Rate Variability (HRV)

TODO.