Skip to content

Commit fbb9d2d

Browse files
committed
Review property description PR
- Some edits to descriptions and page layout - Add image of property pane
1 parent b65361e commit fbb9d2d

File tree

6 files changed

+119
-43
lines changed

6 files changed

+119
-43
lines changed

api/device-configure.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,21 @@ title: Device Configuration Operators
44
---
55

66
> [!TIP]
7-
> Device configuration operators are not recommended for using off-the-shelf Open Ephys hardware.
8-
> Use [Device Group configuration operators](xref:configure) instead. They confer the following
9-
> benefits:
10-
> - The `address` and `name` properties of Device Group configuration operators undergo automatic
11-
> configuration which reduces the risk of erroneous configuration.
12-
> - The workflow is less cluttered with configuration operators as one Device Group configuration
13-
> operator corresponds to multiple device operators. This improves workflow legibility and
14-
> expedites the workflow scripting process.
7+
> Device configuration operators are not recommended for using off-the-shelf
8+
> Open Ephys hardware. Use [Device Group configuration
9+
> operators](xref:configure) instead. They confer the following benefits:
10+
> - The `address` and `name` properties of Device Group configuration operators
11+
> undergo automatic configuration which reduces the risk of erroneous
12+
> configuration.
13+
> - The workflow is less cluttered with configuration operators as one Device
14+
> Group configuration operator corresponds to multiple device operators. This
15+
> improves workflow legibility and expedites the workflow scripting process.
1516
1617
Device configuration operators belong in a top-level configuration chain between
1718
[CreateContext](xref:OpenEphys.Onix1.CreateContext) and
18-
[StartAcquisition](xref:OpenEphys.Onix1.StartAcquisition) to configure devices that can be found on
19-
ONIX hardware. [!INCLUDE [device description](<./../includes/device-description.md>)]
19+
[StartAcquisition](xref:OpenEphys.Onix1.StartAcquisition) to configure devices
20+
that can be found on ONIX hardware. Devices represent physical element
21+
interfacing with the environment (e.g., an external sensor with a digital
22+
communication interface like the BNO055, Neuropixels probes, or RHS2116 stimulus
23+
trigger) or internal data sources (e.g., a controller based digital logic module
24+
that generates system status reports like the port status controller).

api/overview.md

Lines changed: 27 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,61 @@
11
---
22
uid: OpenEphys.Onix1
3-
title: OpenEphys.Onix1
3+
title: Library Reference
44
---
55

6-
> [!TIP]
7-
> Quickly access these pages in Bonsai by pressing <kbd>F1</kbd> while an OpenEphys.Onix1 operator
8-
> is selected in the workflow or Toolbox.
6+
[OpenEphys.Onix1](https://github.com/open-ephys/bonsai-onix1) is a Bonsai
7+
package that exposes a set of Bonsai Operators for control of and data
8+
acquisition from ONIX hardware. This library reference that documents each of
9+
the operators available in the package in a standardized format. This reference
10+
is generated from the [source code](https://github.com/open-ephys/bonsai-onix1).
911

10-
OpenEphys.Onix1 is a Bonsai package for control of and data acquisition from
11-
ONIX hardware. This section of the docs is dedicated to facilitate construction
12-
of workflows using OpenEphys.Onix1. It contains helpful information about
13-
OpenEphys.Onix1 operators and the data elements they produce. The
14-
<xref:OpenEphys.Onix1.Rhs2116DataFrame> page exemplifies this. It contains
15-
information to interpret data such as equations for converting electrophysiology
16-
signals from the raw ADC values to volts.
12+
> [!TIP]
13+
> You can access the reference for a particular operator from within the Bonsai
14+
> editor pressing <kbd>F1</kbd> while an OpenEphys.Onix1 operator is selected in
15+
> the workflow or Toolbox.
1716
1817
## Property Categories
18+
The behavior of Bonsai operators is governed by their "Properties".
19+
Properties can be viewed and changed using Property Editor on the right side of
20+
the workflow:
1921

20-
### Configuration properties vs Acquisition properties
22+
![Bonsai property editor](../images/properties-pane.webp){width=650px}
2123

22-
In the OpenEphys.Onix1 package, properties belong to specific categories that
23-
define when the property effects the hardware.
24+
Properties in this library fall into several categories which are useful for
25+
distinguishing when a property change will be applied to hardware and the scope
26+
of the property's effect. The following tags are used throughout the
27+
documentation designate these property categories:
2428

2529
<span class="badge oe-badge-border oe-badge-yellow"
2630
id="configuration">Configuration</span> properties have an effect on hardware
2731
when a workflow is started and are used to initialize the hardware state. If
2832
they are changed while a workflow is running, they will not have an effect until
2933
the workflow is restarted. For example, CreateContext's
30-
<xref:OpenEphys.Onix1.CreateContext.Index> Configuration property is used to
31-
specify the hardware prior to starting a recording, and editing this property
34+
<xref:OpenEphys.Onix1.CreateContext.Index> Configuration property is used to
35+
specify the hardware prior to starting a recording, and editing this property
3236
has no effect until the workflow is started or restarted.
3337

3438
<span class="badge oe-badge-border oe-badge-blue"
3539
id="acquisition">Acquisition</span> properties have an immediate effect on
36-
hardware when the workflow is running. For example,
37-
Headstage64ElectricalStimulatorTrigger's
40+
hardware when the workflow is running. For example, the
3841
<xref:OpenEphys.Onix1.Headstage64ElectricalStimulatorTrigger.InterPulseInterval>
39-
property allows dynamically configuring the duration between electrical
42+
property allows dynamically configuring the duration between electrical
4043
stimulation pulses. Along with its other Acquisition properties, the entire
4144
electrical stimulation pattern can be modulated in real-time while the workflow
4245
is running.
4346

44-
### Device Group properties vs Device properties
45-
46-
Properties are additionally categorized by whether they effect a group of devices
47-
or a single device.
48-
4947
<span class="badge oe-badge-border oe-badge-green" id="device-group">Device
5048
Group</span> properties are only available through [Device Group configuration
5149
operators](xref:configure). These properties are used to configure a group of
52-
devices. For example, ConfigureNeuropixelsV2eHeadstage's
53-
<xref:OpenEphys.Onix1.ConfigureHeadstageNeuropixelsV2e.Port> property
50+
devices. For example, ConfigureNeuropixelsV2eHeadstage's
51+
<xref:OpenEphys.Onix1.ConfigureHeadstageNeuropixelsV2e.Port> property
5452
configures the port name for all devices on the NeuropixelsV2e Headstage (which
55-
in turn automatically configures each device's address).
53+
in turn automatically configures each device's address).
5654

5755
<span class="badge oe-badge-border oe-badge-purple" id="device">Device</span>
5856
properties are available through [Device configuration
5957
operators](xref:device-configure) and Device Group configuration operators which
60-
typically combine multiple individual devices. These properties are used to
61-
configure a single device. For example, ConfigureBreakoutBoard's
58+
typically combine multiple individual devices. These properties are used to
59+
configure a single device. For example, ConfigureBreakoutBoard's
6260
<xref:OpenEphys.Onix1.ConfigureBreakoutBoard.AnalogIO> properties configure the
6361
Breakout Board's Analog I/O device.

images/properties-pane.webp

41.9 KB
Binary file not shown.

img-src/properties-pane.png

47.8 KB
Loading

img-src/properties-pane.svg

Lines changed: 77 additions & 0 deletions
Loading

includes/device-description.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)