Drop a Garmin FIT file that has heart rate. Stretches where the wrist sensor misread are found and replaced with an estimate that follows your effort, and totals are recalculated.
A spike is a stretch where the reading jumps within seconds to a wrong but believable level, holds it, and then snaps back. The watch records whatever its sensor reports, so the spike is in the file. You cannot undo it on the watch, but you can repair the recording.
It cannot find a reading that is wrong from the start with no jump, and a recording that logs heart rate only every few seconds gives it too little to work with. Not every sudden change is a sensor error, and The Split does not diagnose which is which.
Why they happen is covered in why your heart rate spikes at the start of a run and what cadence lock is. For how to repair a file and prevent the next one, read how to fix a heart rate spike on a Garmin watch. If a strap recorded the run too, add its heart rate to the file.
It replaces it. Every reading inside a repaired stretch gets an estimated value, and nothing is deleted, so the file has no gap where the spike was.
A lock that starts and ends abruptly can be repaired like any other spike. If the automatic search misses one, mark it yourself in Manual.
Yes, for the laps the repair touches. Their average and maximum heart rate are recomputed from the repaired values.