Skip to content

Commit b359070

Browse files
cjshaChucklesOnGitHubbparks13
authored
Reorganize software guide (#87)
* Reorganizing software guide - Add sphinx-design - Link to external pages --------- Co-authored-by: Ceci Herbert <[email protected]> Co-authored-by: Brandon Parks <[email protected]>
1 parent 1511821 commit b359070

File tree

12 files changed

+597
-442
lines changed

12 files changed

+597
-442
lines changed

Pipfile

+1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ make = "*"
1010
pytz = "*"
1111
sphinxcontrib-wavedrom = "*"
1212
jinja2 = "*"
13+
sphinx-design = "*"
1314

1415
[dev-packages]

Pipfile.lock

+434-361
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/Hardware Guide/Headstages/tether-voltage.rst

+8-7
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@ host computer will not be able to detect the headstage. A borderline
2020
voltage can still cause connectivity issues as the headstage occasionally dips
2121
below the level it needs to function properly.
2222

23-
.. attention:: The :ref:`Bonsai package <openephys_onix1ref>` automatically sets the
24-
headstage port voltage by default, but allows the user to override the
25-
voltage setting as well. The documentation linked shows how to use this
26-
functionality and what valid voltage ranges are for each headstage. This
27-
functionality has been been tuned for the tethers that are shipped with each
28-
headstage. The voltage override is available when custom tethers are used
29-
(see :ref:`measure_voltage`).
23+
.. attention::
24+
The `OpenEphys.Onix1 <https://open-ephys.github.io/bonsai-onix1-docs/index.html>`__
25+
Bonsai package automatically sets the headstage port voltage by default, but allows
26+
the user to override the voltage setting as well. The documentation linked shows how
27+
to use this functionality and what valid voltage ranges are for each headstage. This
28+
functionality has been been tuned for the tethers that are shipped with each
29+
headstage. The voltage override is available when custom tethers are used
30+
(see :ref:`measure_voltage`).
3031

3132
The voltage set in software is not identical to the voltage supplied to the
3233
headstage, as some voltage drop will occur over the tether that connects them. The

source/Hardware Guide/Miniscopes/index.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ UCLA Miniscope V3
1010
:Design Repository: https://github.com/daharoni/Miniscope_CMOS_Imaging_Sensor_PCB
1111
:Documentation: http://miniscope.org/index.php/Guides_and_Tutorials
1212
:Compatibility: :ref:`pcie_host`, :ref:`breakout`
13-
:Software: :ref:`openephys_onix1ref`
13+
:Software: `OpenEphys.Onix1 <https://open-ephys.github.io/bonsai-onix1-docs/index.html>`__ Bonsai package
1414

1515
.. figure:: /_static/images/miniscopes/ucla-miniscope-v3-render.jpg
1616
:align: center
@@ -21,7 +21,7 @@ UCLA Miniscope V4
2121
:Design Repository: https://github.com/Aharoni-Lab/Miniscope-v4
2222
:Documentation: https://github.com/Aharoni-Lab/Miniscope-v4/wiki
2323
:Compatibility: :ref:`pcie_host`, :ref:`breakout`
24-
:Software: :ref:`openephys_onix1ref`
24+
:Software: `OpenEphys.Onix1 <https://open-ephys.github.io/bonsai-onix1-docs/index.html>`__ Bonsai package
2525

2626
.. figure:: /_static/images/miniscopes/ucla-miniscope-v4-render.png
2727
:align: center

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
.. _bonsai_onixref:
99

10-
Bonsai.ONIX
10+
Bonsai.ONIX (DEPRECATED)
1111
===================================
1212
..
1313
Important: The names of pages for nodes must match their Bonsai.ONIX class
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
.. |_| unicode:: 0xA0
2+
:trim:
3+
14
.. _open_ephys_gui:
25

3-
Open Ephys GUI ONIX Plugin
6+
Open Ephys GUI Plugin
47
--------------------------------------------
58

69
The `Open Ephys GUI <https://open-ephys.github.io/gui-docs/index.html>`__ is an
@@ -9,11 +12,8 @@ electrophysiology data. It was designed by neuroscientists to make their
912
experiments more flexible and enjoyable. It works equally well on macOS, Linux,
1013
and Windows.
1114

12-
.. note:: An ONIX plugin for the Open Ephys is in development. To access all of
13-
ONIX's capabilities right now, have a look at the :ref:`openephys_onix1ref`.
14-
**In the meantime, you can still take advantage of the GUI's excellent
15-
ephys visualizaiton tools by streaming data from Bonsai to the GUI using
16-
the** `Ephys Socket Plugin <https://open-ephys.github.io/gui-docs/User-Manual/Plugins/Ephys-Socket.html>`__.
15+
An ONIX Source plugin for the Open Ephys GUI is in development.
1716

17+
To access all of ONIX's capabilities right now, have a look at the `OpenEphys.Onix1 Bonsai Package Docs <https://open-ephys.github.io/bonsai-onix1-docs/index.html>`__. Even when acquiring in Bonsai, you can still take advantage of the GUI's excellent ephys visualization tools by streaming data from Bonsai to the GUI using the Ephys Socket Plugin as explained in `this tutorial <https://open-ephys.github.io/bonsai-onix1-docs/articles/tutorials/ephys-socket.html>`__.
1818

1919

source/Software Guide/OpenEphys.Onix1/index.rst

-46
This file was deleted.

source/Software Guide/index.rst

+40-19
Original file line numberDiff line numberDiff line change
@@ -9,33 +9,54 @@
99
.. toctree::
1010
:hidden:
1111

12-
OpenEphys.Onix1/index
12+
Bonsai Package Docs <https://open-ephys.github.io/bonsai-onix1-docs/>
1313
Open Ephys GUI/index
1414
oni-repl/index
15-
Bonsai.ONIX (DEPRECATED) <Bonsai.ONIX/index>
15+
Deprecated Software<Bonsai.ONIX/index>
1616

17-
:ref:`Bonsai ONIX Package <openephys_onix1ref>`
18-
:ref:`OpenEphys.Onix1 <openephys_onix1ref>` is a `Bonsai
19-
<https://bonsai-rx.org/>`__ package for acquiring data from ONIX hardware
20-
for real-time experiments. Bonsai is very good at processing the
21-
heterogeneous data streams produced by ONIX hardware.
17+
There are two recommended software programs to acquire data from the ONIX system:
2218

23-
:ref:`Open Ephys GUI ONIX Plugin <open_ephys_gui>`
24-
The `Open Ephys GUI <https://open-ephys.github.io/gui-docs/>` excels at
25-
electrophysiology data visualization and recording.
19+
.. grid::
2620

27-
:ref:`Command line application <oni_repl>`
28-
`oni-repl` is a simple command-line application that can be used for
29-
debugging and basic streaming IO with ONIX hardware.
21+
.. grid-item-card:: Bonsai Package OpenEphys.Onix1
22+
:link-type: url
23+
:link: https://open-ephys.github.io/bonsai-onix1-docs/
24+
:class-card: intro-card
25+
:img-top: /_static/images/bonsai-logo.svg
26+
:img-alt: bonsai logo
27+
:class-img-top: software-card-img
28+
:columns: 5
3029

31-
.. tip:: ONIX uses an `ONI-compliant API
32-
<https://open-ephys.github.io/ONI/v1.0/api/index.html>`__ that is software
33-
agnostic. If you want to use ONIX hardware with your acquisition software,
34-
please :ref:`get in touch <support>`.
30+
Acquire data from ONIX in Bonsai, a visual programming language for more extensive data
31+
processing and sub-ms latency feedback.
32+
33+
.. grid-item-card:: Open Ephys GUI Plugin ONIX Source
34+
:link-type: ref
35+
:link: open_ephys_gui
36+
:class-card: intro-card
37+
:img-top: /_static/images/oe-gui-logo.png
38+
:img-alt: open ephys gui logo
39+
:class-img-top: software-card-img
40+
:columns: 5
41+
42+
Acquire data from ONIX in the Open Ephys GUI, a turnkey solution for acquiring and
43+
visualizing electrophysiology data.
44+
45+
46+
Troubleshooting & Development
47+
___________________________________
48+
49+
:doc:`oni_repl <oni-repl/index>` is a simple command-line application that can be used for
50+
debugging and basic streaming IO with ONIX hardware.
51+
52+
.. tip:: ONIX uses an `ONI-compliant API
53+
<https://open-ephys.github.io/ONI/v1.0/api/index.html>`__ that is software
54+
agnostic. If you want to use ONIX hardware with your acquisition software,
55+
please :ref:`get in touch <support>`.
3556

3657
Deprecated Software
3758
___________________________________
3859

39-
- The :ref:`bonsai_onixref` pages provide information about the original Bonsai
40-
package, which has been superseded by :ref:`OpenEphys.Onix1 <openephys_onix1ref>`.
60+
:doc:`Bonsai.ONIX <Bonsai.ONIX/index>` is the deprecated Bonsai ONIX
61+
package which has been superseded by `OpenEphys.Onix1 <https://open-ephys.github.io/bonsai-onix1-docs/>`__.
4162

source/_static/images/bonsai-logo.svg

+98
Loading

source/_static/images/oe-gui-logo.png

53.5 KB
Loading

source/_static/theme_overrides.css

+6
Original file line numberDiff line numberDiff line change
@@ -436,3 +436,9 @@ img {
436436
.hint>.admonition-title:before {
437437
color: #519141 !important;
438438
}
439+
440+
.software-card-img {
441+
width: 50%;
442+
margin: auto;
443+
margin-top: 1rem;
444+
}

source/conf.py

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
'sphinx.ext.githubpages',
4444
'sphinx.ext.graphviz',
4545
'sphinxcontrib.wavedrom',
46+
'sphinx_design'
4647
]
4748

4849
# Add any paths that contain templates here, relative to this directory.

0 commit comments

Comments
 (0)