emg feature extraction python code