Electrogram calculation polishing