TEAP (Toolbox for Emotion Analysis using Physiological Signals) doc
ECG__new_empty.m
Go to the documentation of this file.
1 %> @file ECG__new_empty.m
2 %> @brief Creates a new ECG empty signal
3 function Signal = ECG__new_empty()
4 
5 Signal = Signal__new_empty();
6 Signal = Signal__set_signame(Signal, ECG__get_signame());
7 Signal = Signal__set_unit(Signal, 'uV');
8 
9 %Create information specific to ECG
10 Signal.IBI = Signal__new_empty(); %Inter beat interval (empty if not computed) a vector otherwise
11 Signal.IBI = Signal__set_signame(Signal.IBI, 'IBI');
12 Signal.IBI = Signal__set_unit(Signal.IBI, 's'); %For the moment the user cannot choose it
13 Signal.IBI = Signal__set_samprate(Signal.IBI, 8); %For the moment the user cannot choose it
14 
Signal__set_signame
function Signal__set_signame(in Signal, in nameStr)
Signal__new_empty
function Signal__new_empty()
Signal__set_samprate
function Signal__set_samprate(in Signal, in samprate)
ECG__get_signame
function ECG__get_signame()
ECG__new_empty
function ECG__new_empty()
Signal__set_unit
function Signal__set_unit(in Signal, in unitStr)