LFP Viewer

Annotated LFP Viewer settings interface
“LFP” stands for “local field potential,” but this visualizer can display any type of continuous signal. It’s an essential plugin for monitoring overall data quality before and during an experiment. Each LFP Viewer can display up to 3 segments of data at a time, either side-by-side or stacked on top of one another.

Plugin Type



Windows, Linux, macOS

Built in?


Key Developers

Josh Siegle, Jakob Voigts, K. Michael Fox, Anjal Doshi, Daniel Wagenaar

Source Code


Plugin configuration

Layout selection

The LFP Viewer can display up to three segments of data, depending on the layout that is selected. Each section can display different segments of the same block of channels, or can point to a different sub-processor. The settings for section 1, 2, and 3 are preserved when the layout is changed.

This example shows three displays in “stacked” mode, one showing the continuous traces, one viewing the data in spike raster mode, and one set to display a single channel (toggled by double-clicking on a channel in the LFP Viewer).

LFP Viewer screenshot

Main options

The most commonly used options are always visible along the bottom of the LFP Viewer. If there are multiple simultaneous displays, the display that is linked to the options interface will be highlighted in yellow.

LFP Viewer settings

Additional options

The interfaces for additional settings can be exposed by clicking on the triangle in the lower right of the LFP Viewer.


  • Spike raster: Sets the threshold for the spike raster view. If a value other than OFF is selected (or a custom threshold is entered), the LFP Viewer will show vertical lines at the location of threshold crossings, rather than displaying the continuous trace.

  • Clip warning: If set to ON, a white line will be shown whenever the value of a given channel goes out of range of the display. The precise clipping value will depend on the voltage range that is currently selected.

  • Sat. warning: If set to a value other than OFF, red and white diagonal lines will be shown whenever the value of given channel crosses the selected threshold. This is used to detect when signals go out of range of the analog-to-digital converters, which results in information loss.


  • Reverse order: Displays the channels in opposite numerical order (highest-numbered channels at the top of the screen).

  • Sort by depth: Displays the channels by depth, if this information is available. Currently, there are no source nodes that include this information, although this will change soon.

  • Skip: Sets the display to show every Nth channel. This is useful if you’re using a probe with many densely space contacts, and don’t need to visualize every one simultaneously.

  • Show number: Displays the channel indices, rather than the channel names, on the left-hand side of the LFP Viewer.


  • Invert signal: By default, negative voltages point downward, and positive voltages point upward. This button switches that convention for all channels (e.g., so spikes point upward). The signal for individual channels can be inverted by right-clicking on that channel in the LFP Viewer.

  • Subtract offset: Removes the DC offset for each channel (useful for visualizing Neuropixels data).

Triggered display

  • Trigger channel: Selects the event channel used for triggering. If a channel other than None is selected, the display will only update on rising edge events on that channel. If mutiple events occur within the selected timebase, triggering will be disabled until the display has reached the right edge of the screen.

  • Trial averaging: When ON, the display will show the average signal across trials, rather than individual traces. Each incoming event on the trigger channel will update the average.

  • Reset trials: If trial averaging mode is ON, this button will set the trial count to zero and reset the averaging process.