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.本発明は、生物の外側表面上の複数の表面電極により取得される電気信号によって、電気心臓活性マップを提供するシステムに関する。心臓構造位置決定ユニット12は、提供された投影画像に基づいて、心臓構造の、特に心外膜表面の位置を決定し、ここで、解剖学的心臓モデルが、投影画像に適応される。電気活性マップ決定ユニット13は、電気信号、投影画像から決定された複数の表面電極9の位置、及び心臓構造の決定された位置に基づいて、心臓構造の電気活性マップを決定する。これは、例えば相対的に高いX線放射線量を生物に適用するX線トモグラフィシステムを必ずしも必要とすることなく、高い正確さを伴って、心臓構造の電気活性マップを決定することを可能にする。