TEAP (Toolbox for Emotion Analysis using Physiological Signals) doc
ECG_feat_extr.m File Reference

Computes ECG features. More...

Go to the source code of this file.

Functions

function ECG_feat_extr (in ECGSignal, in varargin)
 

Detailed Description

Computes ECG features.

Definition in file ECG_feat_extr.m.

Function Documentation

◆ ECG_feat_extr()

function ECG_feat_extr ( in  ECGSignal,
in  varargin 
)
Parameters
ECGSignalthe ECG signal (already subtracted from one lead)
vararginyou can choose which features to extract default or no input will result in extracting all the features (see feature Extractor) featues names include:
  • meanIBI: mean interbeat interval
  • HRV: heart rate variability (deviation of IBI)
  • MSE: Multi-Scale Entropy at 5 levels 1-5 (5 features)
  • sp0001: Spectral power 0-0.1Hz,
  • sp0102: Spectral power 0.1-0.2Hz,
  • sp0203: Spectral power 0.2-0.3Hz,
  • sp0304: Spectral power 0.3-0.4Hz,
  • energyRatio: Spectral energy ratio between f<0.08Hz/f>0.15Hz and f<5.0Hz
  • tachogram_LF: Low frequency spectral power in tachogram (HRV) [0.01-0.08Hz]
  • tachogram_MF: Medium frequency spectral power in tachogram (HRV) [0.08-0.15Hz]
  • tachogram_HF: High frequency spectral power in tachogram (HRV) [0.15-0.5Hz]
  • tachogram_energy_ratio: Energy ratio for tachogram spectral content (MF/(LF+HF))
Return values
ECG_featuresvector of features among the following features
ECG_feats_namesthe names of the features is the same order than in 'ECG_features'
Bulkif the input to the function is a Bulk than the Bulk is returned with the updated ECG signal, including IBI. Otherwise NaN is returned
Author
Copyright Guillaume Chanel 2013, 2015
Copyright Frank Villaro-Dixon, 2014