This repository contains experiment with dynamic language control functionality. The experiment supports both German and English, and has been tested on Ubuntu systems using Python 3.8.18.
Setup Instructions
- Clone the Repository
git clone https://github.com/HPI-CH/EPIStress.git
cd EPIStress📌 Note: Update the base_path in the code to the path where the repository is saved on your system.
- Create and Activate Conda Environment (Make sure you have conda installed in your system)
conda env create -f environment.yml
conda activate psychopy- Run the Experiment: Execute the following script to start the experiment:
cd Psychopy
python main_study_full.py-
Language Selection At the beginning of the experiment, you will be prompted to select your preferred language: English or German.
-
Complete the Questionnaire Follow the instructions and answer all the questions presented during the experiment.
Download the data using the link Here
Data Loader (A script to load each part of your downloaded EPIStress dataset (Raw, Labeled, Preprocessed, Features))
Use Data Loader.ipynb to download Raw, Labelled, Preprocesses, Features data. Raw contains all unprocessed sensor streams (Muse EEG, Empatica ACC/BVP/EDA/TEMP, PsychoPy logs & questionnaires, stretched data); Labeled contains synchronized, segmented raw data per task; Preprocessed contains cleaned & preprocessed labeled data; Features contains features extracted from the preprocessed data.
How to use:
- Set your base_path on the Main function.
- Run all cells.
- Execute the notebook cells to display the output you need.