Simulation of the electrogram from ion currents.

Simulation of the electrogram from ion currents.