Electromechanical wave imaging is less invasive for detecting irregular heartbeats, and may also be used to better guide surgical treatment of arrhythmias.