Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use three layers: reduce the artifact at the stimulation and electrode interface, keep the recording front end linear and quick to recover, then remove or reconstruct the residual digitally. This order matters: software cannot recover neural data that were lost when an amplifier saturated or samples were blanked.

Why stimulation artifacts are more than a brief spike

Electrical stimulation can produce transients far larger than the neural activity a recording system is meant to capture. The artifact may mask activity during stimulation, distort the recorded spectrum beyond the stimulation frequency, and drive an amplifier into saturation. Even after the transient ends, slow amplifier recovery can leave the signal unreliable.

So the goal is not simply to make an artifact look smaller in a final trace. The system must preserve the neural signal through the event, or at least limit the period in which that signal is unusable. Prevention, acquisition integrity, and digital recovery address different parts of that problem.

How to reduce the artifact before it reaches the amplifier

Design the stimulation waveform to limit artifact generation

Charge balancing and waveform design can reduce artifact size or compensate for properties of the stimulation waveform that produce artifacts. These are source-level controls: they reduce the burden on the recording chain, but do not guarantee that the artifact disappears. Validate the chosen waveform against the stimulation task and the neural signal you need to preserve.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use electrode geometry to make shared interference rejectable

Symmetric stimulation and recording electrode geometry can make more of the artifact common to the recording inputs. A differential recording front end can reject common-mode interference more readily than an artifact that appears differently at each input. Geometry therefore works with the front end; it is not a substitute for adequate dynamic range or recovery.

Keep the recording front end from losing the signal

Neural recordings may be at microvolt scale while stimulation transients are much larger. High gain can cause saturation, and once the input or amplifier is no longer operating linearly, later subtraction cannot reliably restore what was clipped. A low-frequency high-pass corner used to control DC offset can also contribute to slow recovery.

  • Preserve input headroom. Increasing input dynamic range can help keep the recording chain linear during stimulation transients. The needed range depends on the electrode, stimulation protocol, gain, and target signal; it is not a universal setting.
  • Shorten recovery deliberately. Reset or active electrode-discharge approaches can reduce recovery time. Assess whether their switching or discharge behavior affects the neural signal of interest.
  • Treat disconnection as a trade-off. Disconnecting the front end during stimulation can protect circuitry, but reconnecting can create settling transients. Include that settling interval when judging how much usable data remain.
  • Check the entire chain. A front end that avoids clipping is not enough if another stage saturates or recovers slowly. Confirm that the recorded output is usable during and after stimulation, not merely that the hardware survives the event.

These approaches must be chosen and validated for the specific hardware and signal. For online closed-loop use, front-end behavior and digital recovery should be designed together: a processing method that assumes a clean artifact waveform cannot compensate for one destroyed by saturation or unstable recovery.

Choose digital recovery by the signal you need to keep

Digital methods generally reconstruct contaminated samples, subtract an estimated artifact, or separate artifact and neural components. The right choice depends on whether the target is a slower field potential or a brief event such as a spike, whether the artifact repeats reliably, and how much latency and computation the application allows.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Method family What it does Main limitation Best fit to consider
Blanking or sample-and-hold Excludes or holds over samples during the artifact interval. Discards or replaces data in that interval; a short neural event can be missed. Potentially more suitable for lower-frequency LFP or ECoG than for spike recordings, as the review notes.
Interpolation or estimation Reconstructs contaminated samples using approaches such as linear interpolation, Gaussian estimation, or spline interpolation. Estimates rather than observes the signal during contamination; performance depends partly on artifact duration and the neural feature that may fall within it. Consider when a reconstructed interval is acceptable for the target signal.
Template subtraction Estimates a repeated artifact waveform and subtracts it from the recording. Requires a sufficiently undistorted template and accurate timing; a stale or misaligned template can leave residual artifact or distort neural activity. Consider when artifact shape and timing are repeatable and the recording chain preserves the waveform.
Adaptive filtering Estimates artifact from a stimulation reference or neighboring channel and subtracts the estimate. Depends on a useful reference and on tracking changes in artifact shape and timing. Consider when a reference signal tracks the artifact without removing the neural signal of interest.
Component decomposition Uses approaches such as ICA or empirical mode decomposition to separate signal components. Can require more computation and may not suit real-time operation. Consider when component separation is useful and the available latency and compute budget permit it.

Subtraction deserves particular care: high dynamic range and rapid recovery help preserve the assumptions behind the estimated artifact. If acquisition clips the artifact or leaves a changing recovery waveform, the estimate may no longer match what was recorded. Likewise, aggressive rejection can make residual artifact look smaller while also removing neural features.

Apply the published results only to comparable setups

Studies show that specialized methods can work in particular recording and stimulation conditions, not that one method wins across neural interfaces.

  • FES-related intracortical recordings (study authors, 2018): In that study, surface stimulation artifacts were 175 times larger than baseline neural recordings, while intramuscular stimulation artifacts were four times larger. LRR reduced artifact magnitudes to less than 10 μV and outperformed CAR and blanking on the reported measures, while largely preserving neural features used for decoding. These are results for the tested setup, not expected ratios or outcomes for another array, stimulation protocol, or recording chain.
  • EEG, ECoG, and microelectrode-array data (study authors, 2023): PWNP was tested on signals from five human subjects. The reported average suppression was 32–34 dB for narrow-band EEG artifact; the reported interference-index reductions were 78% for ECoG and 85% for MEA broadband artifacts. Each number describes its stated modality and measure, not a single comparable score across all three.

These results are useful evidence that recovery methods can preserve useful data in defined conditions. They do not establish a universal winner or a performance guarantee for a different setup.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

A practical sequence for designing and validating artifact control

  1. Define the signal to preserve. Specify whether the application depends on LFP, ECoG, spikes, or short-latency responses. That determines whether missing or reconstructed samples are tolerable.
  2. Reduce artifact at its source. Evaluate charge balancing, waveform design, and electrode geometry as ways to reduce artifact magnitude or make it more common-mode.
  3. Protect acquisition integrity. Check whether the chosen gain and input range remain linear during stimulation, how quickly the chain recovers, and whether resets, discharges, or disconnection add their own settling behavior.
  4. Characterize the residual artifact. Determine whether its shape and timing are repeatable enough for a template, reference, or neighboring-channel estimate. If not, a subtraction method that assumes repeatability may fail.
  5. Choose recovery and judge its costs. Use reconstruction only where estimated data are acceptable; use subtraction only when the estimate can track the artifact; consider component methods only when their compute and latency costs fit the application.
  6. Evaluate neural-signal preservation as well as artifact reduction. Check for saturation, recovery effects, residual interference, and loss or distortion of the neural feature used downstream. For a closed-loop system, include processing latency and power constraints in the same design decision.

There is no single best artifact-control method independent of the signal and hardware. As Andy Zhou, Benjamin C. Johnson, and Rikky Muller put it, “Co-designing and integrating these artifact cancellation techniques will be key to enabling neuromodulation systems to stimulate and record at the same time.”

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.