This repository contains functions and scripts to import, process, plot and analyze EMG data acquired from the Tucker Davis Technologies (TDT) system, for use in PAS Experiments
This issue is just for documentation purposes in case a similar problem occurs again.
Problem: Variables calculated within a function were changed upon return into the main script.
Solution: The order and number of the variables must be the same between the function call in the script and the header of the function. Otherwise the variables returned will be inaccurate.