EMG post-processing methods. Acquired EMG signals (A) are first full-wave rectified (B), and then Gaussian filtered (C). A threshold is calculated based on the standard deviation and the mean of the smoothed EMG signal during quiet period, which is used to determine the beginning and end of the contraction. Then, several contraction metrics are calculated (D) including raw latency, peak amplitude, contraction duration, and contraction force. contr. = contraction; EMG = electromyography.