Data compression applied to dynamic electrocardiography