Skip to content

Commit e5f25da

Browse files
authored
Merge pull request #36 from open-ephys/ChucklesOnGitHub-patch-1
added hs NP1.0e example workflow and usage caveats
2 parents 919c257 + 08be7f0 commit e5f25da

27 files changed

+279
-53
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# sphinx build folder
22
docs/*
3+
source/_build/*
34

45
# Compiled source #
56
###################

source/Hardware Guide/Breakout Board/setup.rst

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
Breakout Board Guide
44
#########################
55

6+
.. warning:: Always make sure the PC is powered off **before** connecting or disconnecting the Breakout Board. Neglecting to do this will damage the PCIe Host.
7+
68
Setup
79
-------------------------
810
The Breakout Board provides access to signals to and from the PCIe host. Each

source/Hardware Guide/Headstages/headstage-neuropix-1.rst

+3-8
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ targeting `Neuropixels 1.0 probes <https://www.neuropixels.org/probe>`__.
1818

1919
Coaxial Link
2020
***********************************
21-
For details on data serialiation and headstage gateware, have a look at the
22-
:ref:`serialization` page, which describes how coax headstages operatate in
21+
For details on data serialization and headstage gateware, have a look at the
22+
:ref:`serialization` page, which describes how coax headstages operate in
2323
general terms. The Neuropixels-1.0 Headstage has the following coaxial link
2424
properties:
2525

@@ -39,10 +39,5 @@ properties:
3939
| PCLK Frequency | 42 | | | MHz |
4040
+------------------------+--------------------+----------+----------+----------+
4141

42-
.. important:: \*The headstage includes an undervoltage and overvoltage lockout
43-
circuit that will only allow it to turn on when the proper link voltage is
44-
present headstage. If the headstage is not turning on, make sure that the
45-
voltage at the headstage itself is within the valid range
46-
47-
.. note:: Have a look at the :ref:`tethers` page for more details on mirco-coax
42+
.. note:: Have a look at the :ref:`tethers` page for more details on micro-coax
4843
headstage tethers

source/Hardware Guide/Headstages/headstage-neuropix-1e.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. _headstage_neuropix1:
1+
.. _headstage_neuropix1e:
22

33
Neuropixels-1.0e Headstage
44
##############################
@@ -15,8 +15,8 @@ targeting `Neuropixels 1.0 probes <https://www.neuropixels.org/probe>`__.
1515

1616
Coaxial Link
1717
***********************************
18-
For details on data serialiation and headstage gateware, have a look at the
19-
:doc:`serialization` page, which describes how coax headstages operatate in
18+
For details on data serialization and headstage gateware, have a look at the
19+
:doc:`serialization` page, which describes how coax headstages operate in
2020
general terms. The Neuropixels-1.0e Headstage has the following coaxial link
2121
properties:
2222

@@ -32,6 +32,6 @@ properties:
3232
| Coax Voltage | 5.0* | 3.0 | 5.5 | Volts |
3333
+------------------------+--------------------+----------+----------+----------+
3434

35-
.. note:: Have a look at the :doc:`tethers` page for more details on mirco-coax headstage tethers
35+
.. note:: Have a look at the :doc:`tethers` page for more details on micro-coax headstage tethers
3636

3737
.. important:: \*If your headstage is misbehaving, have a look at the :doc:`tether-voltage` page to confirm headstage power voltages

source/Hardware Guide/Miniscopes/index.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ UCLA Miniscope V4
2929

3030
NINScope
3131
------------------------------------------
32-
.. todo:: Comming soon.
32+
.. todo:: Coming soon.
3333

3434
FeatherScope & Kiloscope
3535
------------------------------------------
36-
.. todo:: Comming soon.
36+
.. todo:: Coming soon.

source/Hardware Guide/PCIe Host/overview.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ board , it provides host PC communication.
3737

3838
The ONIX FMC Host module.
3939

40-
- Two deserailizers for any multifunction headstage conforming to the ONIX
40+
- Two deserializers for any multifunction headstage conforming to the ONIX
4141
serialization protocol
4242
- 12x ±10V analog outputs or inputs. Direction selected via analog switch
4343
controllable over the FMC connector.

source/Software Guide/Bonsai.ONIX/Bonsai Examples/Headstage64.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Headstage-64 Workflow
44
===============================
55
This example workflow shows how the data streams produced by
6-
:ref:`headstage_64` can be acquired and saved. Each group workflow at the top
6+
:ref:`headstage_64` can be acquired and saved, as well as used for commutation. Each group workflow at the top
77
level contains acquisition code for a different sensor on the headstage. Example
88
Python and MATLAB scripts are provided to load the data produced by the
99
workflow.
@@ -23,19 +23,19 @@ RHD2164 Ephys Chip
2323
64-channels of extracellular electrophysiology input
2424

2525
TS4231 Lighthouse Receivers
26-
3D position of the headstage in space when used with approriate lighthouse setup.
26+
3D position of the headstage in space when used with appropriate lighthouse setup.
2727

2828
Headstage Port Control
2929
Control over the headstage port and connectivity status logging
3030

3131
.. note::
32-
This workflow does not demonstrate stimulation capabilites of the
32+
This workflow does not demonstrate stimulation capabilities of the
3333
headstage. See :ref:`bonsai_estimdev` and :ref:`bonsai_ostimdev` for
3434
examples of how to control onboard stimulation.
3535

3636
Loading Scripts
3737
--------------------------
38-
The following scripts can be used to load the data produce by this workflow in Python (using Numpy) or MATLAB:
38+
The following scripts can be used to load the data produced by this workflow in Python (using Numpy) or MATLAB:
3939

4040
- Python: :download:`load_headstage64.py <../../../_static/bonsai/workflows/load_headstage64.py>`
4141
- MATLAB: :download:`load_headstage64.m <../../../_static/bonsai/workflows/load_headstage64.m>`
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
.. _bonsai_headstage_neuropix1e:
2+
3+
Headstage Neuropixels 1.0e Workflow
4+
============================================
5+
This example workflow shows how the data streams produced by
6+
:ref:`headstage_neuropix1e` can be acquired and saved, as well as used for commutation. Each group workflow at the top
7+
level contains acquisition code for a different sensor on the headstage. A probe visualizer is included.
8+
9+
.. important:: \Bonsai workflows that contain the :ref:`bonsai_NeuropixelsV1edev` node such as this one will not
10+
open/load unless the headstage is on. Make sure to configure the headstage port voltage and mode correctly using the :ref:`bonsai_onicontext` node with the parameters for the :ref:`headstage_neuropix1e` before connecting the headstage.
11+
12+
.. raw:: html
13+
14+
{% with static_path = '../../../_static', name = 'HeadstageNeuropixelsV1e' %}
15+
{% include 'workflow.html' %}
16+
{% endwith %}
17+
18+
19+
BNO055 9-Axis IMU
20+
Absolute orientation measurement of the headstage along with a lot of other information
21+
22+
Neuropixels V1.0e Device
23+
384 channels of extracellular electrophysiology input from 960 selectable neuropixels 1.0 probe electrodes
24+
25+
.. note:: \Remember to configure the probe as described in :ref:`bonsai_NeuropixelsV1edev`. To save data, remember to configure and enable the appropriate workflow nodes.
26+
27+
Loading Scripts
28+
--------------------------
29+
The following script can be used to load the data produced by this workflow in Python (using Numpy):
30+
31+
- Python: :download:`load_headstage64.py <../../../_static/bonsai/workflows/load_neuropixelsv1e.py>`

source/Software Guide/Bonsai.ONIX/Bonsai Examples/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ third-party tools at the software level.
1010
:maxdepth: 1
1111

1212
Headstage64
13+
HeadstageNP1e
1314
LatencyTest
1415
CameraSync
1516
Commutator

source/Software Guide/Bonsai.ONIX/GettingStarted.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ Bonsai Learning Resources
2121

2222
* - `Bonsai's learn page <https://bonsai-rx.org/learn/>`__
2323
- Videos and links for understanding how Bonsai can be used to process
24-
data streams ranging from beginer to advanced use.
24+
data streams ranging from beginner to advanced use.
2525

2626
* - `Bonsai's docs page <https://bonsai-rx.org/docs>`__
27-
- Installation, package managment, use guide. These pages also contain an
27+
- Installation, package management, use guide. These pages also contain an
2828
overview of the reactive architecture at the core of Bonsai, and why
2929
it's useful and powerful. It concludes with a guide on how to use the
3030
editor to create Bonsai workflows.

source/Software Guide/Bonsai.ONIX/Installation.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ hardware and can be installed using its package manager.
2525
install both the base **Bonsai.ONIX** library and its visualization tools.
2626

2727
.. tip:: It is recommended to also install **Bonsai.ONIX.Design** because
28-
it provides a substantial set of data visualation and graphical hardare
28+
it provides a substantial set of data visualization and graphical hardware
2929
configuration elements.
3030

3131
.. image:: /_static/bonsai/package-manager-search-onix.png

source/Software Guide/Bonsai.ONIX/Nodes/ClockOutputDevice.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ options.
4444

4545
* - Delay
4646
- double
47-
- If SyncToRun is true, this determins the delay from the start of the
47+
- If SyncToRun is true, this determines the delay from the start of the
4848
hardware running state to the start of the clock output in seconds.
4949

5050
* - SyncToRun
5151
- bool
5252
- If true, then the clock output will remain low until hardware
53-
aquisition starts. Otherwise it will free run independent of acqusition
53+
acquisition starts. Otherwise it will free run independent of acquisition
5454
state.

source/Software Guide/Bonsai.ONIX/Nodes/ElectricalStimulationDevice.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Parameters available through the property pane are as follows:
4949

5050
* - PowerOn
5151
- boolean
52-
- If true, the stimulator power circutiry is turned on. When not in
52+
- If true, the stimulator power circuitry is turned on. When not in
5353
use, its a good idea to keep this false to reduce headstage power
5454
consumption and possible increased noise.
5555

@@ -67,7 +67,7 @@ Parameters available through the property pane are as follows:
6767

6868
* - PhaseOneDuration
6969
- double
70-
- Phase 1 pulse duration (msec). This value can be 0 for monophasic stimuluation.
70+
- Phase 1 pulse duration (msec). This value can be 0 for monophasic stimulation.
7171

7272
* - InterPhaseDuration
7373
- double
@@ -76,7 +76,7 @@ Parameters available through the property pane are as follows:
7676

7777
* - PhaseTwoDuration
7878
- double
79-
- Phase 2 pulse duration (msec). This value can be 0 for monophasic stimuluation.
79+
- Phase 2 pulse duration (msec). This value can be 0 for monophasic stimulation.
8080

8181
* - PulsePeriod
8282
- double

source/Software Guide/Bonsai.ONIX/Nodes/HeadstagePortControlDevice.rst

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
HeadstagePortControlDevice
44
===============================
5+
.. warning:: This node configures hardware parameters when it is placed in a workflow, even if the workflow is not running. Always check voltage configurations before connecting headstages to the system.
6+
57
A `Bonsai source <https://bonsai-rx.org/docs/editor/#toolbox>`__ that wraps a
68
:ref:`onidatasheet_fmc_link_control` device.
79

source/Software Guide/Bonsai.ONIX/Nodes/HeartbeatDevice.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A `Bonsai source <https://bonsai-rx.org/docs/editor/#toolbox>`__ that wraps a
66
:ref:`onidatasheet_heartbeat` device.
77

88
:Inputs: None
9-
:Outputs: A single ``HearbeatDataFrame`` that is produced periodically by
9+
:Outputs: A single ``HeartbeatDataFrame`` that is produced periodically by
1010
hardware. This type is a wrapper around the :ref:`Device To Host Data
1111
Frame <onidatasheet_heartbeat_d2h>` specified on the
1212
:ref:`onidatasheet_heartbeat` device datasheet.

source/Software Guide/Bonsai.ONIX/Nodes/NeuropixelsV1Device.rst

+8-7
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,13 @@ Parameters available through the property pane are as follows:
5555

5656
* - RequireSNMatch
5757
- boolean
58-
- If true, then require configuration and probe serial numbers to match
59-
to start acqusition. Keeping this parameter set to True is good
58+
- If True, the configuration and probe serial numbers must match
59+
to start acquisition. Keeping this parameter set to True is good
6060
practice because the correct calibration files must be loaded in order
6161
for the probe to function properly.
62+
Error message if set to True and not properly configured: Probe and configuration serial numbers do not match.
6263

63-
* - NueuropixelsV1Configuration
64+
* - NeuropixelsV1Configuration
6465
- N/A
6566
- Editing this parameter will open the Configuration GUI, just like
6667
double clicking on the node.
@@ -70,7 +71,7 @@ _________________________
7071
The **Neuropixels 1.0 Configuration GUI**, which is a part of the
7172
``Bonsai.ONIX.Design`` library, is opened by double clicking on the
7273
NeuropixelsV1Device node when editing the workflow or clicking the ellipsis
73-
next to the ``NueuropixelsV1Configuration`` parameter option in the property
74+
next to the ``NeuropixelsV1Configuration`` parameter option in the property
7475
pane.
7576

7677
.. figure:: /_static/bonsai/neuropixelsv1/neuropixelsv1_configuration-gui-callouts.png
@@ -192,14 +193,14 @@ bottom left of the GUI. A progress bar will indicate the upload progress.
192193
Saving Configurations
193194
**********************************
194195
Complete probe configurations can be saved in easy to parse JSON or XML
195-
formats. These fikes contain complete information about the state of a given
196+
formats. These files contain complete information about the state of a given
196197
probe. This includes all calibration file information, active electrodes, gains
197198
etc, and therefore can be useful metadata during analysis.
198199

199200
#. Select **Export...** from the **File** menu;
200201

201202
.. image:: /_static/bonsai/neuropixelsv1/neuropixelsv1_export_cropped.png
202-
:alt: The configuraiton GUI with export selected
203+
:alt: The configuration GUI with export selected
203204
:align: left
204205

205206
#. Choose if JSON or XML should be used in the file selection dialog and save:
@@ -221,7 +222,7 @@ active electrodes.
221222
#. Select **Import** from the **File** menu:
222223

223224
.. image:: /_static/bonsai/neuropixelsv1/neuropixelsv1_import_cropped.png
224-
:alt: The configuraiton GUI with import selected
225+
:alt: The configuration GUI with import selected
225226
:align: left
226227

227228
#. Select a previously exported configuration file:

source/Software Guide/Bonsai.ONIX/Nodes/NeuropixelsV1eDevice.rst

+10-6
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ NeuropixelsV1eDevice
44
===============================
55

66
.. important:: To use this device with ONIX hardware, you must first use the :ref:`bonsai_onicontext` configuration GUI to set the headstage port to :ref:`"Passthrough Mode" <bonsai_onicontext_hubsettings>`
7-
7+
.. important:: Bonsai workflows that contain this node will not
8+
open/load unless the headstage is on - Error message: There was an error opening the workflow. Make sure to configure the headstage port voltage and mode correctly using the :ref:`bonsai_onicontext` node with the parameters for the :ref:`headstage_neuropix1e` before connecting the headstage.
9+
810
A `Bonsai source <https://bonsai-rx.org/docs/editor/#toolbox>`__ that wraps a
911
Neuropixels 1.0e device.
1012

@@ -58,10 +60,12 @@ Parameters available through the property pane are as follows:
5860

5961
* - RequireSNMatch
6062
- boolean
61-
- If true, then require configuration and probe serial numbers to match
62-
to start acqusition. Keeping this parameter set to True is good
63+
If True, the configuration and probe serial numbers must match
64+
to start acquisition. Keeping this parameter set to True is good
6365
practice because the correct calibration files must be loaded in order
6466
for the probe to function properly.
67+
Error message if set to True and not properly configured: Probe and configuration serial numbers do not match.
68+
6569

6670
* - NeuropixelsV1Configuration
6771
- N/A
@@ -195,14 +199,14 @@ bottom left of the GUI. A progress bar will indicate the upload progress.
195199
Saving Configurations
196200
**********************************
197201
Complete probe configurations can be saved in easy to parse JSON or XML
198-
formats. These fikes contain complete information about the state of a given
202+
formats. These files contain complete information about the state of a given
199203
probe. This includes all calibration file information, active electrodes, gains
200204
etc, and therefore can be useful metadata during analysis.
201205

202206
#. Select **Export...** from the **File** menu;
203207

204208
.. image:: /_static/bonsai/neuropixelsv1/neuropixelsv1_export_cropped.png
205-
:alt: The configuraiton GUI with export selected
209+
:alt: The configuration GUI with export selected
206210
:align: left
207211

208212
#. Choose if JSON or XML should be used in the file selection dialog and save:
@@ -224,7 +228,7 @@ active electrodes.
224228
#. Select **Import** from the **File** menu:
225229

226230
.. image:: /_static/bonsai/neuropixelsv1/neuropixelsv1_import_cropped.png
227-
:alt: The configuraiton GUI with import selected
231+
:alt: The configuration GUI with import selected
228232
:align: left
229233

230234
#. Select a previously exported configuration file:

source/Software Guide/Bonsai.ONIX/Nodes/ONIContext.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55

66
ONIContext
77
===============================
8+
9+
.. warning:: This node configures hardware parameters when it is placed in a workflow, even if the workflow is not running. Always check voltage configurations before connecting headstages to the system.
10+
811
A `Bonsai source <https://bonsai-rx.org/docs/editor/#toolbox>`__ that manages a
912
:ref:`oni_h_acquisition_context` and allows basic acquisition parameterization.
1013
There must be at least one of these in every workflow that uses ONIX hardware.
@@ -128,7 +131,7 @@ with a synchronization cable.
128131
selected *Sync Channel*. Any number of listeners can be assigned to a
129132
single *Sync Channel*.
130133

131-
.. important:: Only the aquisition start trigger is shared from Sources to
134+
.. important:: Only the acquisition start trigger is shared from Sources to
132135
Listeners. The acquisition clock may or may not be shared depending on the
133136
type of host hardware being used. For example, if all hardware consists of
134137
:ref:`PCIe Hosts <pcie_host>` on the same motherboard, then both start

source/Software Guide/Bonsai.ONIX/Nodes/RHD2164Device.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ options.
5454
- Select a low-frequency cutoff from allowable options. This filtering is
5555
performed prior to analog to digital conversion.
5656

57-
* - DSPCuttoff
57+
* - DSPCutoff
5858
- enum
59-
- Select the low-frequency cutoff for the integrated digtial offset
60-
removal filter. This fitering is performed following analog to digital
59+
- Select the low-frequency cutoff for the integrated digital offset
60+
removal filter. This filtering is performed following analog to digital
6161
conversion.
6262

6363
* - EphysDataFormat

source/Software Guide/Bonsai.ONIX/Nodes/RHS2116Device.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ Parameters available through the property pane are as follows:
5656
- TwosCompliment: raw 16-bit signed integer conversion results.
5757
- MicroVolts: 32-bit floating-point voltages (EphysData in uV; DCData in Volts)
5858

59-
* - DSPCuttoff
59+
* - DSPCutoff
6060
- enum
61-
- Select the low-frequency cutoff for the integrated digtial offset
62-
removal filter. This fitering is performed following analog to digital
61+
- Select the low-frequency cutoff for the integrated digital offset
62+
removal filter. This filtering is performed following analog to digital
6363
conversion.
6464

6565
* - AnalogHighCutoff
@@ -86,7 +86,7 @@ Parameters available through the property pane are as follows:
8686

8787
* - StimulusSequence
8888
- RHS2116StimulusSequence
89-
- The stimulus sequence defintion for this device. Editing this parameter
89+
- The stimulus sequence definition for this device. Editing this parameter
9090
will open the configuration GUI, just like double clicking the node.
9191

9292
* - Trigger

0 commit comments

Comments
 (0)