Electrocardiography
An electrocardiogram (ECG) is a medical test that detects cardiac abnormalities by measuring the electrical activity generated by the heart as it contracts. The machine that records the patient's ECG is called an electrocardiograph.