An apparatus for mapping local activation times for sinus and non-sinus cardiac cycles, the apparatus comprising: a display; and a processor configured: to receive sets of signals during multiple cardiac cycles, each set of the signals indicating, for a medical probe inserted into a cardiac chamber, a three-dimensional location of a distal end of the probe, electrical potentials measured at the 3D location, and respective times during a given cardiac cycle when the electrical potentials were measured, to compare the received electrical potential measurements and the respective times to a first template for a sinus rhythm cardiac cycle and a second template for a non-sinus rhythm cardiac cycle so as to identify a sequence of cardiac cycles comprising consecutive first, second, and third cardiac cycles wherein the first and second cardiac cycles are in accordance with the first template and the third cardiac cycle is in accordance with the second template, to generate a physical map of the cardiac chamber, based on the 3D locations indicated by the sets of signals received during the first and second cardiac cycles, and to render to the display, based on the received 3D locations and corresponding measured electrical potentials, an electroanatomic map comprising the local activation times for the non-sinus rhythm cardiac cycle overlaid on the physical map. a display; and a processor configured: to receive sets of signals during multiple cardiac cycles, each set of the signals indicating, for a medical probe inserted into a cardiac chamber, a three-dimensional location of a distal end of the probe, electrical potentials measured at the 3D location, and respective times during a given cardiac cycle when the electrical potentials were measured, to compare the received electrical potential measurements and the respective times to a first template for a sinus rhythm cardiac cycle and a second template for a non-sinus rhythm cardiac cycle so as to identify a sequence of cardiac cycles comprising consecutive first, second, and third cardiac cycles wherein the first and second cardiac cycles are in accordance with the first template and the third cardiac cycle is in accordance with the second template, to generate a physical map of the cardiac chamber, based on the 3D locations indicated by the sets of signals received during the first and second cardiac cycles, and to render to the display, based on the received 3D locations and corresponding measured electrical potentials, an electroanatomic map comprising the local activation times for the non-sinus rhythm cardiac cycle overlaid on the physical map. to receive sets of signals during multiple cardiac cycles, each set of the signals indicating, for a medical probe inserted into a cardiac chamber, a three-dimensional location of a distal end of the probe, electrical potentials measured at the 3D location, and respective times during a given cardiac cycle when the electrical potentials were measured, to compare the received electrical potential measurements and the respective times to a first template for a sinus rhythm cardiac cycle and a second template for a non-sinus rhythm cardiac cycle so as to identify a sequence of cardiac cycles comprising consecutive first, second, and third cardiac cycles wherein the first and second cardiac cycles are in accordance with the first template and the third cardiac cycle is in accordance with the second template, to generate a physical map of the cardiac chamber, based on the 3D locations indicated by the sets of signals received during the first and second cardiac cycles, and to render to the display, based on the received 3D locations and corresponding measured electrical potentials, an electroanatomic map comprising the local activation times for the non-sinus rhythm cardiac cycle overlaid on the physical map.