Skip to content

Latest commit

 

History

119 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EKG_EEG

This repository contains some scripts to analyze simultaneous EEG and ECG recordings.

To detrend the Plethysmography it uses the code available here: https://github.com/cvxgrp/l1_tf/tree/master/matlab Functions for calculating mutual information and other information theoretic quantities using a parametric Gaussian copula: https://github.com/robince/gcmi/tree/master/matlab

Overview of the main scripts:

  extract_HR_and_epochs_DEAP.m              detect R peaks and extract EEG epochs (1 trial) 
  loop_check_HR_DEAP.m                      visualize the peaks
  loop_extract_HR_and_epochs_DEAP.m         detect R peaks and extract EEG epochs (loop over trials and subjects)
  calc_temp_inf_HEP_DEAP.m                  calculate the information theoretic quantities (+ plots)
  calc_temp_inf_HEP_DEAP_test_cluster.m     test for significance using cluster-based permutation test
  calc_temp_inf_HEP_DEAP_test_pixel.m       test for significance using permutation test at pixel level

About

code to compute the Heartbeat Evoked Potential for the DEAP dataset and compute information theoretical measures

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages