Quantitative assessment of the EMG patterns of upper limb muscles during robotic rehabilitation