The invention relates to a system (1) for providing an electrical activity map of the heart by means of electrical signals acquired by a plurality of surface electrodes (9). A surface electrodes positions determination unit (4, 6, 13) determines positions of the plurality of surface electrodes by means of optical shape sensing localization. The optical shape sensing element may comprise a wand (4), or alternatively an optical shape sensing fiber embedded in the vest comprising the surface electrodes. The position of a cardiac structure may be determined using ultrasound. An electrical activity map determination unit (16) determines the electrical activity map at the cardiac structure based on the measured electrical signals, the determined positions of the plurality of electrodes and the position of the cardiac structure, in particular, of the epicardial surface. Since optical shape sensing is used for determining the positions of the plurality of surface electrodes and not, for instance, x-rays, the electrical activity map can be determined, without necessarily applying an x-ray radiation dose.本発明は、複数の表面電極9によって獲得された電気信号によって心臓の電気的活動マップを提供するシステム1に関する。表面電極位置決定ユニット4、6、13が、光形状検知位置特定によって、複数の表面電極の位置を決定する。光形状検知素子は、棒4を含むか、或いは、光形状検知ファイバが表面電極を含むベストに内蔵される。心内構造物の位置は、超音波を使用して決定される。電気的活動マップ決定ユニット16が、測定された電気信号と、複数の電極の決定された位置と、心内構造物、具体的には心外膜面の位置とに基づいて、心内構造物における電気的活動マップを決定する。複数の表面電極の位置を決定するために光形状検知が使用され、例えばX線は使用されないので、電気的活動マップは、必ずしもX線放射量を照射しなくても決定される。