myo_helper/myo_helper.py
def import_supplemental(file_path):
    """Get data from a supplemental file"""
    data = sio.loadmat(file_path)

    data['move'] = np.squeeze(data['move'])
    data['rep'] = np.squeeze(data['rep'])
    data['emg_time'] = np.squeeze(data['emg_time'])

    return data
Get data from a supplemental file
Get data from a supplemental file
Get data from a supplemental file
def import_supplemental(file_path):
    data = sio.loadmat(file_path)
    data['move'] = np.squeeze(data['move'])
    data['rep'] = np.squeeze(data['rep'])
    data['emg_time'] = np.squeeze(data['emg_time'])
    return data
def import_supplemental ( file_path ) : data = sio . loadmat ( file_path ) data [ 'move' ] = np . squeeze ( data [ 'move' ] ) data [ 'rep' ] = np . squeeze ( data [ 'rep' ] ) data [ 'emg_time' ] = np . squeeze ( data [ 'emg_time' ] ) return data
Get data from a supplemental file
Get data from a supplemental file
"""Get data from a supplemental file"""
file_path