Skip to content

Scripts for the emotion EEG, ECG, sociability ISRSA analysis

Notifications You must be signed in to change notification settings

andlab-um/Emotion_Neurophysio_IS-RSA

Repository files navigation

Negative-Emotion-Neurophysiogical-Sociability

GitHub repo size Twitter URL Twitter URL

From Affective, Neuroscience, and Decision-making Lab

Highlights

  • We combined virtual reality & simultaneous EEG-ECG recording to probe the neurophysiological responses of nehative emotions
  • We first found a common neurophysiological response pattern of negative emotions under virtual reality
  • Furthermore, individual variation of sociability could be captured by neurophysiological responses
  • Virtual reality has promising utility in naturalistic neuroimaging and socio-affective research

Description

  • This repo mainly contains scripts for processing multimodal neurophysiological data from the VR emotion project.
  • Data modality: EEG (Brain Porduct 64 ch, montage see BP_Montage), ECG (BIOPAC 3 leads)
  • Paradigm: naturalistic viewing of negative emotinal videos under virtual reality (Unity + Steam VR)
  • VR googles: VIVE Pro EYE (HTC)
  • Main analysis method: Intersubject similarity analysis (ISC) & Intersubject representational similarity analysis (IS-RSA)

Structure

├── Unity_call_python
│   ├── PortEEG.py         # set the trigger to EEG & ECG
│   ├── AddPortEEG.py      # load the PortEEG function 
│   ├── UnityCallPython.cs # script for importing python script in unity
│   └── inpoutx64.dll      # dll for parallel ports
├── 1_Emotion_Rating.ipynb # visualization of the perceived emotion arousal rating score
├── 2_ISC_EEG.ipynb        # intersubejct simialrity analysis of the EEG data
├── 3_ISC_ECG.ipynb        # intersubejct simialrity analysis of the EEG data
├── 4_ISC_Behav.ipynb      # intersubject similarity analysis of the sociability (mentalizing & empathy)
├── 5_ISRSA.ipynb          # intersubject representational similarity analysis 
├── 6_plots_stats.ipynb    # plot the topographys of ISC & IS-RSA   
├── LICENSE
└── README.md

Requirements

Python

python 3.8
mne
neurokit2
pandas
numpy
scipy
statsmodels
matplotlib
seaborn

About

Scripts for the emotion EEG, ECG, sociability ISRSA analysis

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published