This allows a surgeon or cardiologist to precisely locate a tissue lesion or other problem which causes an arrythmia, and then correct it immediately, using means such as a scalpel or laser, or by applying high-frequency voltage to an electrode to convert the electrode into a radiofrequency emitter which functions as an ablation tool.