Skip to content

Commit 7119051

Browse files
committed
Merge branch 'onebox'
2 parents 056127e + 950bf28 commit 7119051

18 files changed

+6046
-4597
lines changed

source/User-Manual/Hardware-requirements.rst

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Computer specs
6363

6464
* **Operating system** - Windows 7, 10, or 11
6565

66-
* **Processor** - minimum of 6 cores, 3.5 GHz; an **Intel** processor is recommended for optimum driver compatibility, but many users have AMD processors that work without issues.
66+
* **Processor** - minimum of 6 cores, 3.5 GHz
6767

6868
* **Memory** - at least 2 GB per simultaneously recorded probe; a minimum of 16 GB is recommended.
6969

@@ -77,17 +77,27 @@ Computer specs
7777
Other hardware
7878
###############
7979

80-
The following summarizes the additional hardware you'll need to buy to run Neuropixels experiments. Full details can be found on the :ref:`neuropixelspxi` plugin page.
80+
The following summarizes the additional hardware you'll need to buy to run Neuropixels experiments. OneBoxes, PXI basestations, headstages, and probes can be ordered from `neuropixels.org <https://neuropixels.org>`__. Other PXI components are available from NI.
8181

82-
* From IMEC: Neuropixels basestations, cables, headstages, and probes
82+
OneBox
83+
-------
84+
85+
* **OneBox** with included power supply and USB 3.0 cable
86+
87+
* One **breakout board** with SDR cable (for auxiliary I/O)
88+
89+
See the :ref:`onebox` plugin page for more details.
90+
91+
PXI system
92+
----------
8393

8494
* One **PXI chassis** (so far we've tested National Instruments PXIe-1071, PXIe-1082, and PXIe-1083 and ADLINK PXES-2301)
8595

8696
* *(optional)* One **PXI-based analog and digital I/O module** (see the :ref:`NI-DAQmx` page for a list of hardware we've tested)
8797

8898
For chassis without a built-in controller (e.g. PXIe-1071, PXIe-1082), you'll need:
8999

90-
* One **PXI remote control module** (we've tested NI PXIe-8381 and PXIe-8398) – requires NIDAQmx driver
100+
* One **PXI remote control module** (we've tested NI PXIe-8381 and PXIe-8398)
91101

92102
* One **PCIe interface card** (we've tested NI PCIe-8381, PCIe-8382, and PCIe-8398)
93103

@@ -98,3 +108,5 @@ For chassis with a built-in Thunderbolt controller (e.g. PXIe-1083):
98108
* One **Thunderbolt interface card** that's compatible with your motherboard
99109

100110
* One sufficiently long **Thunderbolt cable**
111+
112+
See the :ref:`neuropixelspxi` plugin page for more details.

source/User-Manual/Plugins/Neuropixels-PXI.rst

Lines changed: 49 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Neuropixels PXI
2121
Installing and upgrading
2222
############################
2323

24-
The Neuropixels PXI plugin is not included by default in the Open Ephys GUI. To install, use **ctrl-P** or **⌘P** to open the Plugin Installer, browse to the "Neuropixels PXI" plugin, and click the "Install" button. Alternatively, you can select the "Neuropixels" default configuration the first time the GUI is launched, and the plugin will be downloaded and installed automatically.
24+
The Neuropixels PXI plugin is not included by default in the Open Ephys GUI. To install, use **ctrl-P** or **⌘P** to open the Plugin Installer, browse to the "Neuropixels PXI" plugin, and click the "Install" button. This will also install the :ref:`onebox` plugin. Alternatively, you can select the "Neuropixels" default configuration the first time the GUI is launched, and the plugin will be downloaded and installed automatically.
2525

2626
The Plugin Installer also allows you to upgrade to the latest version of this plugin, if it's already installed.
2727

@@ -76,14 +76,19 @@ This plugin can stream data from the following Neuropixels probe types:
7676
"Neuropixels UHD Phase 2 (switchable)", "384 AP, 384 LFP", "≥0.2.x", "`BS137, BSC176`_"
7777
"Neuropixels UHD Phase 3 (ultradense)", "384 AP, 384 LFP", "≥0.5.x", "`BS169, BSC176`_"
7878
"Neuropixels 2.0 (beta)", "384 wideband", "≥0.2.x", "`BS137, BSC176`_"
79-
"Neuropixels 2.0 (public release)", "384 wideband", "**≥0.6.x**", "`BS169, BSC189`_"
79+
"Neuropixels 2.0 (multishank)", "384 wideband", "≥0.6.x", "`BS169, BSC189`_"
80+
"Neuropixels 2.0 (single shank)", "384 wideband", "**≥0.7.x**", "`BS169, BSC191`_"
81+
"Neuropixels 2.0 (quad base)", "1536 wideband", "**≥0.7.x**", "`BS169, BSC191`_"
8082
"Neuropixels Opto", "384 AP, 384 LFP", "≥0.4.x", "Special basestation required"
8183

82-
.. important:: Regardless of which probe type you're using, we recommend updating to the most recent Neuropixels PXI plugin and basestation firmware (`BS169, BSC189`_). This firmware is required for plugin version **0.6.x** and higher, as well as the latest version of SpikeGLX. See :ref:`Updating basestation firmware` section for information on how to modify your firmware.
84+
.. important:: Regardless of which probe type you're using, we recommend updating to the most recent Neuropixels PXI plugin and basestation firmware (`BS169, BSC191`_). This firmware is required for plugin version **0.7.x** and higher, as well as the latest version of SpikeGLX. See :ref:`Updating basestation firmware` section for information on how to modify your firmware.
85+
86+
.. warning:: In version 0.6.x of this plugin, commercial Neuropixels 2.0 (multishank) probes did not have the correct scaling applied to account for the lower bit depth of the ADC compared to the beta probes (12 vs. 14 bits). To correct this, any data acquired with from these probes with this plugin should be multiplied by 4. This issue is fixed in version 0.7.x.
8387

8488
.. _BS137, BSC176: https://github.com/open-ephys-plugins/neuropixels-pxi/blob/main/Resources/imec-firmware-for-plugin-0.4.x.zip
8589
.. _BS169, BSC176: https://github.com/open-ephys-plugins/neuropixels-pxi/blob/main/Resources/imec-firmware-for-plugin-0.5.x.zip
8690
.. _BS169, BSC189: https://github.com/open-ephys-plugins/neuropixels-pxi/blob/main/Resources/imec-firmware-for-plugin-0.6.x.zip
91+
.. _BS169, BSC191: https://github.com/open-ephys-plugins/neuropixels-pxi/blob/main/Resources/imec-firmware-for-plugin-0.7.x.zip
8792

8893

8994
Connecting to the PXI system
@@ -105,12 +110,16 @@ If no basestations are detected, the plugin will display the "No basestations fo
105110
Calibrating probes
106111
#####################
107112

108-
Neuropixels probes require ADC and gain calibration in order to function properly. These files can be obtained from IMEC for every probe that you've purchased. There should be two files for each probe:
113+
Neuropixels probes require calibration in order to function properly. These files can be obtained from IMEC for every probe that you've purchased. There should be two files for each 1.0 probe:
109114

110115
* :code:`<probe_serial_number>_ADCCalibration.csv`
111116

112117
* :code:`<probe_serial_number>_gainCalValues.csv`
113118

119+
and one file for each 2.0 probe:
120+
121+
* :code:`<probe_serial_number>_gainCalValues.csv`
122+
114123
Any probes detected by the Neuropixels PXI plugin will be calibrated automatically when the plugin is loaded, provided that calibration files are stored in one of the following locations:
115124

116125
* :code:`C:\\ProgramData\\Open Ephys\\CalibrationInfo\\<probe_serial_number>` (recommended - note that **ProgramData** may be a hidden folder on your system, so you'll need to change the File Explorer options to show hidden files)
@@ -139,9 +148,17 @@ And for a Neuropixels 2.0 (4-shank) probe:
139148
.. image:: ../../_static/images/plugins/neuropix-pxi/neuropix-pxi-03.png
140149
:alt: Overview of the Neuropixels 2.0 settings interface
141150

151+
Electrode selection
152+
---------------------
153+
142154
The interface on the left allows you to select/deselect electrodes from different banks. Use the mini probe overview visualization to scroll to the electrodes you want to activate, click or drag to select them in the zoomed visualization, and then click the "ENABLE" button. Selecting electrodes on one bank will automatically deactivate the electrodes on all other banks that are connected to the same set of channels.
143155

144-
In addition, for 1.0, NHP, and Ultra probes, you can change the following settings:
156+
You can also select pre-defined electrode configurations from the "Electrode Preset" drop-down menu. This is a much faster way to switch between commonly used electrode layouts.
157+
158+
Gain and filter settings
159+
--------------------------
160+
161+
For 1.0, NHP, and Ultra probes, you can change the following settings:
145162

146163
* **AP Gain** (amplifier gain for AP channels, 50x-3000x; default = 500x)
147164

@@ -150,17 +167,19 @@ In addition, for 1.0, NHP, and Ultra probes, you can change the following settin
150167
* **AP Filter Cut** (ON = 300 Hz high-pass filter active, OFF = filter inactive; default = ON)
151168

152169
Reference selection
153-
###########################
170+
--------------------
154171

155172
All probe types include a **Reference** drop-down menu that can be used to select one of the following reference types:
156173

157-
* **External** (default) - references signals to the dedicated reference pad on the probe/flex cable. This pad can be connected to a wire immersed in saline above the brain (for acute recordings) or a screw embedded in the skull (for chronic recordings). It's common to connect the reference pad to the ground pad, to avoid the need for additional wires.
174+
* **External** (default) - references signals to the dedicated reference pad on the probe/flex cable. This pad can be connected to a wire immersed in saline above the brain (for acute recordings) or a screw embedded in the skull (for chronic recordings). It's common to use a wire to bridge the reference pad to the ground pad, to avoid the need for a separate reference wire.
158175

159176
* **Tip** - references signals to the large pad at the tip of the probe (or the tip of a particular shank, in the case of the 4-shank Neuropixels 2.0). The tip reference will likely reduce your overall noise levels, but it will also lead to leakage of low-frequency signals across all channels. If you want to do any analysis of the local field potential, you need to be sure to keep at least a few channels outside the brain, in order to subtract their signals offline.
160177

161-
.. note:: As of GUI version 0.6.0, it's no longer possible to select the "Internal" reference channels of a Neuropixels probe. These channels are not suitable to use as a reference due to their high impedance.
178+
Neuropixels 2.0 probes have an additional reference option:
179+
180+
* **Ground** - same as External, but with the ground and reference connected internally, so no wire bridge is needed.
162181

163-
In the Open Ephys GUI, reference settings are applied globally to all channels (i.e., you can't have a different gain for a subset of channels).
182+
.. note:: As of GUI version 0.6.0, it's no longer possible to select the "Internal" reference channels of a Neuropixels probe. These channels are not suitable to use as a reference due to their high impedance.
164183

165184
.. caution:: When using multiple PXI basestations in the same chassis, some users have reported problems with the External reference. This manifests as randomly occurring saturating events on the LFP channels, combined with a sudden drop in gain on the AP channels. Such events are not seen when using the Tip reference.
166185

@@ -201,22 +220,33 @@ ProbeInterface JSON files
201220

202221
If you're performing offline analysis with `SpikeInterface <https://github.com/spikeinterface/spikeinterface>`__, it may be helpful to have information about your probe's channel configuration stored in a JSON file that conforms to the `ProbeInterface <https://github.com/spikeinterface/probeinterface>`__ specification. To export a ProbeInterface JSON file, simply press the "SAVE TO JSON" button.
203222

223+
Rescanning basestations
224+
######################################
225+
226+
Pressing the "rescan" button in the upper right corner of the plugin editor will initiate a basestation rescan. If probes have been added, moved, or removed, they will be detected automatically. Prior settings will be transferred based on probe serial number.
227+
228+
.. caution:: After plugging or unplugging probes, do not try to start acquisition without triggering a re-scan or re-launching the GUI.
229+
204230
Plugin data streams
205231
######################################
206232

207-
The Neuropixels PXI plugin sends data from all connected probes through the GUI's signal chain. To disable data transmission, a probe needs to be physically disconnected from the basestation. The plugin should be deleted and re-loaded any time a probe is connected or disconnected.
233+
The Neuropixels PXI plugin sends data from all connected probes through the GUI's signal chain unless they have been disabled. To disable data transmission, you can press the "ENABLE" button underneath the probe name. The probe's icon will turn red, and its data will not be available to downstream plugins.
208234

209-
If you're using Neuropixels 1.0, NHP, or Ultra probes, each probe will have two data streams:
235+
Neuropixels 1.0, NHP, or Ultra probes have two data streams:
210236

211-
* 384 channels of AP band data, sampled at 30 kHz
237+
* 384 channels of AP band data, sampled at 30 kHz (e.g. "ProbeA-AP")
212238

213-
* 384 channels of LFP band data, sampled at 2.5 kHz.
239+
* 384 channels of LFP band data, sampled at 2.5 kHz (e.g. "ProbeA-LFP")
214240

215-
If you're using Neuropixels 2.0 probes, each probe will have only one data stream:
241+
Neuropixels 2.0 single-shank and quad-shank probes have only one data stream:
216242

217243
* 384 channels of wide-band data, sampled at 30 kHz.
218244

219-
As of GUI version 0.6.0, settings for each stream are configured independently for each stream. This makes it much easier to apply different parameters to different streams, for example unique filter settings for the AP band and LFP band. However, users should be aware that settings for one stream are not automatically applied to other streams. If you are recording from many probes simultaneously, be sure to use the Stream Selector interface in downstream plugins to confirm that the appropriate settings have taken effect for all incoming data streams.
245+
Neuropixels 2.0 quad base probes have four data streams (one for each shank):
246+
247+
* 384 x 4 channels of wide-band data, sampled at 30 kHz.
248+
249+
As of GUI version 0.6.0, stream in downstream plugins are configured independently. This makes it much easier to apply different parameters to different streams, for example unique :ref:`bandpassfilter` settings for the AP band and LFP band. However, users should be aware that settings for one stream are not automatically applied to other streams. If you are recording from many probes simultaneously, be sure to use the Stream Selector interface in downstream plugins to confirm that the appropriate settings have taken effect for all incoming data streams.
220250

221251
Customizing stream names
222252
--------------------------
@@ -250,7 +280,7 @@ Each Neuropixels basestation contains one SMA connector for sync input. The beha
250280

251281
* The "+" button allows you to toggle whether or not the sync line is appended to all data streams as a continuous channel. When this button is orange, each stream will include a 385th channel containing the state of the sync line. This will make the :ref:`binaryformat` data files saved by the Record Node compatible with a variety of SpikeGLX-associated offline processing tools, such as CatGT. This button should be enabled *only* if you plan to use these tools. Regardless of whether or not this option is enabled, the sync rising and falling edges will be transmitted as events to downstream processors.
252282

253-
* The second drop-down menu allows you to configure the main sync SMA as **INPUT** or **OUTPUT**. In **INPUT** mode, an external digital input must be connected to the SMA. In **OUTPUT** mode, the master basestation will generate its own sync signal at 1 Hz or 10 Hz.
283+
* The second drop-down menu allows you to configure the main sync SMA as **INPUT** or **OUTPUT**. In **INPUT** mode, an external digital input must be connected to the SMA. In **OUTPUT** mode, the main basestation will generate its own sync signal at 1 Hz.
254284

255285
Simulation mode
256286
##############################
@@ -296,16 +326,16 @@ If you have a headstage test module, you can run a suite of tests to ensure the
296326
Updating basestation firmware
297327
######################################
298328

299-
Version **0.6.x** of the Neuropixels PXI plugin requires a basestation firmware update. The latest firmware (BS169, BSC189) can be downloaded `here <https://github.com/open-ephys-plugins/neuropixels-pxi/blob/main/Resources/imec-firmware-for-plugin-0.6.x.zip>`__.
329+
Version **0.7.x** of the Neuropixels PXI plugin requires a basestation firmware update. The latest firmware (BS169, BSC189) can be downloaded `here <https://github.com/open-ephys-plugins/neuropixels-pxi/blob/main/Resources/imec-firmware-for-plugin-0.7.x.zip>`__.
300330

301-
The currently installed firmware version will appear in the info section of the Neuropixels settings interface (upper right text block). If your basesation firmware version is "2.0169" and your basestation connect board firmware version is "3.2189", you already have the latest firmware installed.
331+
The currently installed firmware version will appear in the info section of the Neuropixels settings interface (upper right text block). If your basesation firmware version is "2.0169" and your basestation connect board firmware version is "3.2191", you already have the latest firmware installed.
302332

303333
If you need to update your firmware, first click the "UPDATE FIRMWARE" button to open the firmware update interface:
304334

305335
.. image:: ../../_static/images/plugins/neuropix-pxi/neuropix-pxi-08.png
306336
:alt: Interface for updating firmware
307337

308-
Next, select the :code:`.bin` file for the **basestation connect board** (:code:`QBSC*.bin`), and click "UPLOAD". The upload process can take anywhere from 10-15 minutes, so please be patient.
338+
Next, select the :code:`.bin` file for the **basestation connect board** (:code:`QBSC*.bin`), and click "UPLOAD".
309339

310340
Immediately after the basestation connect board firmware upload finished, use the lower drop-down menu to select a :code:`.bin` file for the **basestation** (:code:`BS*.bin`), and click "UPLOAD".
311341

0 commit comments

Comments
 (0)