Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lib/formatsignalHDEMG.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
% Input:
% signal: row-wise signal
% gridname: name of the OTB grid of electrodes
% fsamp: sampling frequency of the signal
% check EMG: 1 = Visual checking of EMG channels

% Output:
% coordinates: x and y coordinates of each electrode
% IED: inter electrode distance
% discardChannelsVec: vector of discarded channels after visual checking (1 = discarded channel);

% emgtype: 1 = surface, 2 = intra
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

function [coordinates, IED, discardChannelsVec, emgtype] = formatsignalHDEMG(signal, gridname, fsamp, checkEMG)
Expand Down Expand Up @@ -209,6 +210,7 @@

% Notch filter and bandpassfilter before visualization
signal = notchsignals(signal,fsamp);
signal = bandpassingals(signal, fsamp, emgtype(i));

% Visual checking of EMG signals by column
if checkEMG == 1
Expand Down