transforms basic electrocardiogram