Optimal rejection of movement artefacts from myoelectric signals by means of a wavelet filtering procedure