Skip to content

Commit e4d8998

Browse files
cjshajonnew
andauthored
Remove links to specific pages of ONI docs (#415)
* Remove links to specific pages of ONI docs Only leave links with functional redirects to the main page. * Link all oni-docs references to oni home page * Removed ONI specification link text false advertising - ONI is now the only linked part of the text since the link leads to the top level ONI specification - ONI keywords are capitalized --------- Co-authored-by: jonnew <[email protected]>
1 parent 4a6fec3 commit e4d8998

File tree

4 files changed

+33
-39
lines changed

4 files changed

+33
-39
lines changed

OpenEphys.Onix1/ContextTask.cs

Lines changed: 26 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ namespace OpenEphys.Onix1
1313
/// Encapsulates a single ONI context and orchestrates interaction with ONI-compliant hardware.
1414
/// </summary>
1515
/// <remarks>
16-
/// The <see href="https://open-ephys.github.io/ONI/">Open Neuro Interface (ONI)</see> hardware
17-
/// specification and API describe a general purpose acquisition system architecture and programming
16+
/// The <see href="https://open-ephys.github.io/ONI/">Open Neuro Interface (ONI)</see>
17+
/// specification describe a general purpose acquisition system architecture and programming
1818
/// interface for communication with a host PC. One requirement of ONI is that a host application must
1919
/// hold a "context" that contains handles for hardware communication, data acquisition parameters, etc.
20-
/// for a particular hardware controller, such as the ONIX PCIe card. <see cref="ContextTask"/> fulfills
20+
/// for a particular ONI Controller, such as the ONIX PCIe card. <see cref="ContextTask"/> fulfills
2121
/// this role for this library. Additionally, once data acquisition is started by the <see
2222
/// cref="StartAcquisition"/> operator, <see cref="ContextTask"/> performs the following:
2323
/// <list type="bullet">
@@ -31,7 +31,7 @@ namespace OpenEphys.Onix1
3131
/// Additionally, this operator exposes important information about the underlying ONI hardware such as
3232
/// the device table, clock rates, and block read and write sizes. <strong>In summary, <see
3333
/// cref="ContextTask"/> forms a complete interface for all hardware interaction within the library: all
34-
/// physical interaction with the ONIX system passes through this class.</strong>
34+
/// physical interaction with the ONIX system ultimately passes through this class.</strong>
3535
/// </remarks>
3636
public class ContextTask : IDisposable
3737
{
@@ -82,11 +82,10 @@ public class ContextTask : IDisposable
8282
/// <param name="driver"> A string specifying the device driver used to control hardware. </param>
8383
/// <param name="index">The index of the host interconnect between the ONI controller and host
8484
/// computer. For instance, 0 could correspond to a particular PCIe slot or USB port as enumerated by
85-
/// the operating system and translated by an <see
86-
/// href="https://open-ephys.github.io/ONI/api/liboni/driver-translators/index.html#drivers">ONI
87-
/// device driver translator</see>. A value of -1 will attempt to open the default hardware index and
88-
/// is useful if there is only a single ONI controller managed by the specified <paramref
89-
/// name="driver"/> in the host computer.</param>
85+
/// the operating system and translated by an <see href="https://open-ephys.github.io/ONI/">ONI</see>
86+
/// Device Driver Translator. A value of -1 will attempt to open the default hardware index and is
87+
/// useful if there is only a single ONI controller managed by the specified <paramref name="driver"/>
88+
/// in the host computer.</param>
9089
internal ContextTask(string driver, int index)
9190
{
9291
groupedFrames = frameReceived.GroupBy(frame => frame.DeviceAddress).Replay();
@@ -134,8 +133,9 @@ internal void Reset()
134133
/// Gets the acquisition clock rate in Hz.
135134
/// </summary>
136135
/// <remarks>
137-
/// This property describes the frequency of ONI controller's acquisition clock, which is used to
138-
/// generate the <see cref="DataFrame.Clock">Clock</see> counter value included in all data frames
136+
/// This property describes the frequency of the <see
137+
/// href="https://open-ephys.github.io/ONI/">ONI</see> Controller's Acquisition Clock, which is used
138+
/// to generate the <see cref="DataFrame.Clock">Clock</see> counter value included in all data frames
139139
/// produced by Data IO operators in this library (e.g. <see cref="NeuropixelsV1eData"/> or <see
140140
/// cref="Bno055Data"/>). The value of this property is determined during hardware initialization.
141141
/// </remarks>
@@ -146,10 +146,10 @@ internal void Reset()
146146
/// </summary>
147147
/// <remarks>
148148
/// This number describes the the size, in bytes, of the largest <see
149-
/// href="https://open-ephys.github.io/ONI/hw-spec/controller.html#data-frames">ONI Data Frame</see>
150-
/// produced by any device within the current device table that generates data. Therefore, it also
151-
/// defines the lower bound for the value of <see cref="BlockReadSize"/>. The value of this property
152-
/// is determined during hardware initialization.
149+
/// href="https://open-ephys.github.io/ONI/">ONI</see> Data Frame produced by any device within the
150+
/// current device table that generates data. Therefore, it also defines the lower bound for the value
151+
/// of <see cref="BlockReadSize"/>. The value of this property is determined during hardware
152+
/// initialization.
153153
/// </remarks>
154154
public uint MaxReadFrameSize { get; private set; }
155155

@@ -158,37 +158,32 @@ internal void Reset()
158158
/// </summary>
159159
/// <remarks>
160160
/// This number describes the the size, in bytes, of the largest <see
161-
/// href="https://open-ephys.github.io/ONI/hw-spec/controller.html#data-frames">ONI Data Frame</see>
162-
/// consumed by any device within the current device table that accepts data. Therefore, it also
163-
/// defines the lower bound for the value of <see cref="BlockWriteSize"/>. The value of this property
164-
/// is determined during hardware initialization.
161+
/// href="https://open-ephys.github.io/ONI/">ONI</see> Data Frame consumed by any device within the
162+
/// current device table that accepts data. Therefore, it also defines the lower bound for the value
163+
/// of <see cref="BlockWriteSize"/>. The value of this property is determined during hardware
164+
/// initialization.
165165
/// </remarks>
166166
public uint MaxWriteFrameSize { get; private set; }
167167

168168
/// <summary>
169169
/// Gets the device table containing the device hierarchy of the acquisition system.
170170
/// </summary>
171171
/// <remarks>
172-
/// This dictionary provides access to the <see
173-
/// href="https://open-ephys.github.io/ONI/hw-spec/dev_table.html">ONI Device Table</see>, which maps
174-
/// a set of fully-qualified <see
175-
/// href="https://open-ephys.github.io/ONI/hw-spec/dev_table.html#dev-address"> ONI Device
176-
/// Addresses</see> to a corresponding set of <see
177-
/// href="https://open-ephys.github.io/ONI/hw-spec/devices.html#dev-desc">ONI Device
178-
/// Descriptors</see>. The value of this property is determined during hardware initialization.
172+
/// This dictionary provides access to the <see href="https://open-ephys.github.io/ONI/">ONI</see>
173+
/// Device Table, which maps a set of fully-qualified Device Addresses to a corresponding set of
174+
/// Device Descriptors. The value of this property is determined during hardware initialization.
179175
/// </remarks>
180176
public Dictionary<uint, oni.Device> DeviceTable { get; private set; }
181177

182178
internal IObservable<IGroupedObservable<uint, oni.Frame>> GroupedFrames => groupedFrames;
183179

184180
/// <summary>
185-
/// Gets the sequence of <see
186-
/// href="https://open-ephys.github.io/ONI/hw-spec/controller.html#data-frames">ONI Data Frames</see>
187-
/// produced by a particular device.
181+
/// Gets the sequence of <see href="https://open-ephys.github.io/ONI/">ONI</see> Data Frames produced
182+
/// by a particular device.
188183
/// </summary>
189184
/// <param name="deviceAddress">The fully-qualified <see
190-
/// href="https://open-ephys.github.io/ONI/hw-spec/dev_table.html#dev-address"> ONI Device
191-
/// Address</see> that will produce the frame sequence.</param>
185+
/// href="https://open-ephys.github.io/ONI/">ONI</see> Device Address of the Device that will produce
186+
/// the Data Frame sequence.</param>
192187
/// <returns>The frame sequence produced by the device at address <paramref
193188
/// name="deviceAddress"/>.</returns>
194189
public IObservable<oni.Frame> GetDeviceFrames(uint deviceAddress)

OpenEphys.Onix1/CreateContext.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,9 @@ public class CreateContext
3838
/// </summary>
3939
/// <remarks>
4040
/// For instance, 0 could correspond to a particular PCIe slot or USB port as enumerated by the
41-
/// operating system and translated by an <see
42-
/// href="https://open-ephys.github.io/ONI/api/liboni/driver-translators/index.html#drivers">ONI
43-
/// device driver translator</see>. A value of -1 will attempt to open the default index and is useful
44-
/// if there is only a single ONI controller managed by the specified selected <see cref="Driver"/> in
41+
/// operating system and translated by an <see href="https://open-ephys.github.io/ONI/">ONI</see>
42+
/// Device Driver Translator. A value of -1 will attempt to open the default index and is useful if
43+
/// there is only a single ONI controller managed by the specified selected <see cref="Driver"/> in
4544
/// the host computer.
4645
/// </remarks>
4746
[Description("The index of the host interconnect between the ONI controller and host computer.")]

OpenEphys.Onix1/DeviceFactory.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ internal SingleDeviceFactory(Type deviceType)
6161
/// </summary>
6262
/// <remarks>
6363
/// This is a fully-qualified numerical hardware address of a device within the device table produced
64-
/// by an <see href="https://open-ephys.github.io/ONI/">Open Neuro Interface (ONI)</see> compliant
64+
/// by an <see href="https://open-ephys.github.io/ONI/">ONI</see>-compliant
6565
/// acquisition system. This value is usually not set manually, but is assigned in a <see
6666
/// cref="MultiDeviceFactory"/> to correspond to a fixed address with a piece of hardware such as a
6767
/// headstage. This address is used for hardware communication.
@@ -75,7 +75,7 @@ internal SingleDeviceFactory(Type deviceType)
7575
/// </summary>
7676
/// <remarks>
7777
/// This type provides a device identity to each device within the device table produced by an <see
78-
/// href="https://open-ephys.github.io/ONI/">Open Neuro Interface (ONI)</see> compliant acquisition
78+
/// href="https://open-ephys.github.io/ONI/">ONI</see>-compliant acquisition
7979
/// system.
8080
/// </remarks>
8181
[Browsable(false)]

OpenEphys.Onix1/StartAcquisition.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace OpenEphys.Onix1
1717
/// required actions on one or more <see cref="ContextTask">ContextTasks</see> provided in its input
1818
/// sequence. Once acquisition is started, devices managed by a particular <see cref="ContextTask"/> will
1919
/// start to produce data in a format called an <see
20-
/// href="https://open-ephys.github.io/ONI/hw-spec/controller.html#data-frames">ONI Data Frame</see>. The output
20+
/// href="https://open-ephys.github.io/ONI/">ONI</see> Data Frame. The output
2121
/// sequence of this operator is therefore a <see cref="IGroupedObservable{TKey, TElement}"/>, where
2222
/// <list type="table">
2323
/// <item>
@@ -35,7 +35,7 @@ namespace OpenEphys.Onix1
3535
/// </list>
3636
/// These pre-sorted frame sequences can be interpreted by downstream Data I/O operators (e.g. <see
3737
/// cref="AnalogInput"/> or <see cref="Bno055Data"/>) that convert <see
38-
/// href="https://open-ephys.github.io/ONI/hw-spec/controller.html#data-frames">ONI Data Frames</see> into
38+
/// href="https://open-ephys.github.io/ONI/">ONI</see> Data Frames into
3939
/// data types that are are more amenable to processing within Bonsai workflows.
4040
/// </remarks>
4141
[Description("Starts data acquisition and frame distribution on a ContextTask.")]

0 commit comments

Comments
 (0)