In this article. An electrophysiology (EP) study is a test that records the electrical activity and the electrical pathways of your heart. This test is used to help determine the cause of your heart rhythm disturbance and the best treatment for you.