Substitution of RMS values due to artifact signals. RMS values of artifact channels are replaced by fitting the surface described by nearby non-artifact channels. Left. Sharp peaks caused by artifacts are marked with a circle. Right. Fitted surface obtained after replacing RMS values detected as artifacts (marked with a circle). Such points were replaced by fitting the surface described by non-artifact neighboring channels.