Electrodes were placed over @ residual limb muscles and EMG signals were recorded as patients ambulated and completed @ circuit trials involving level-ground walking , ramp ascent and descent , and stair ascent and descent .