Cleaning the electrocardiographic signal from muscular noise