Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jun 16, 2024
1 parent 904a359 commit 3ccdd6c
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 3 deletions.
16 changes: 15 additions & 1 deletion User-Manual/Plugins/Common-Average-Reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,19 @@
</tr>
</tbody>
</table>
<div class="admonition tip">
<p class="admonition-title">Tip</p>
<p>If you’re using Neuropixels probes, the <a class="reference internal" href="Neuropixels-CAR.html#neuropixelscar"><span class="std std-ref">Neuropixels CAR</span></a> plugin will be more effective at removing noise.</p>
</div>
<section id="overview">
<h2>Overview<a class="headerlink" href="#overview" title="Permalink to this heading">#</a></h2>
<p>Common average referencing is a widely used technique for removing noise from extracellular recordings. Since artifacts often originate from sources that are distant from the electrodes, they induce similar voltage fluctuations across all channels. Thus, computing the average value of some or all channels, and then subtracting this from the incoming data, can help isolate the signals that are generated locally.</p>
<p>This plugin can be used for common average referencing across any number of channels, or it can perform simple digital referencing by selecting a single channel as the reference. If different subsets of electrodes are differentially affected by noise sources, multiple common average reference plugins can be used.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>It’s recommended to place this plugin <em>after</em> the first Record Node in your signal chain, so the data is saved without referencing applied. Global referencing can be easily performed offline, for example by using a common median reference that is less sensitive to outliers (but is more computationally intensive than averaging).</p>
</div>
</section>
<section id="plugin-configuration">
<h2>Plugin configuration<a class="headerlink" href="#plugin-configuration" title="Permalink to this heading">#</a></h2>
<p>There are three settings that affect the behavior of the Common Average Reference:</p>
Expand All @@ -529,7 +542,7 @@ <h2>Plugin configuration<a class="headerlink" href="#plugin-configuration" title
<section id="working-with-multiple-data-streams">
<h2>Working with multiple data streams<a class="headerlink" href="#working-with-multiple-data-streams" title="Permalink to this heading">#</a></h2>
<p>The “Reference” and “Affected” channels are only applied within a single stream. Because different streams may be sampled asynchronously, it’s not possible to reference channels from one stream to channels in another.</p>
<p>To change the settings for a particular stream, make sure it is active in the stream selector (accsesed by clicking the vertical lines on the right-hand side of the plugin editor).</p>
<p>To change the settings for a particular stream, make sure it is active in the stream selector (accessed by clicking the vertical lines on the right-hand side of the plugin editor).</p>
</section>
</section>

Expand Down Expand Up @@ -580,6 +593,7 @@ <h2>Working with multiple data streams<a class="headerlink" href="#working-with-
</div>
<nav class="bd-toc-nav page-toc">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#overview">Overview</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#plugin-configuration">Plugin configuration</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#working-with-multiple-data-streams">Working with multiple data streams</a></li>
</ul>
Expand Down
15 changes: 14 additions & 1 deletion _sources/User-Manual/Plugins/Common-Average-Reference.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,19 @@ Common Average Reference
"*Key Developers*", "Ryan Maloney, Josh Siegle, Kirill Abramov"
"*Source Code*", "https://github.com/open-ephys/plugin-GUI/tree/main/Plugins/CommonAverageRef"


.. tip:: If you're using Neuropixels probes, the :ref:`neuropixelscar` plugin will be more effective at removing noise.

Overview
=====================

Common average referencing is a widely used technique for removing noise from extracellular recordings. Since artifacts often originate from sources that are distant from the electrodes, they induce similar voltage fluctuations across all channels. Thus, computing the average value of some or all channels, and then subtracting this from the incoming data, can help isolate the signals that are generated locally.

This plugin can be used for common average referencing across any number of channels, or it can perform simple digital referencing by selecting a single channel as the reference. If different subsets of electrodes are differentially affected by noise sources, multiple common average reference plugins can be used.

.. note:: It's recommended to place this plugin *after* the first Record Node in your signal chain, so the data is saved without referencing applied. Global referencing can be easily performed offline, for example by using a common median reference that is less sensitive to outliers (but is more computationally intensive than averaging).


Plugin configuration
=====================

Expand All @@ -40,5 +53,5 @@ Working with multiple data streams

The "Reference" and "Affected" channels are only applied within a single stream. Because different streams may be sampled asynchronously, it's not possible to reference channels from one stream to channels in another.

To change the settings for a particular stream, make sure it is active in the stream selector (accsesed by clicking the vertical lines on the right-hand side of the plugin editor).
To change the settings for a particular stream, make sure it is active in the stream selector (accessed by clicking the vertical lines on the right-hand side of the plugin editor).

Binary file modified objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit 3ccdd6c

Please sign in to comment.