Skip to content

Commit

Permalink
Update RHD2164Device.rst
Browse files Browse the repository at this point in the history
- Add ephys sample conversion formulas
  • Loading branch information
jonnew authored Apr 1, 2024
1 parent f2bef57 commit 4fa9fd4
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions source/Software Guide/Bonsai.ONIX/Nodes/RHD2164Device.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,19 @@ options.
- enum
- The format of the ephys samples within the RHD2164DataFrame.

- Unsigned: raw 16-bit unsigned integer conversion results.
- TwosCompliment: raw 16-bit signed integer conversion results.
- MicroVolts: 32-bit floating-point voltages.
- Unsigned: raw 16-bit unsigned integer conversion results in offset binary.

.. math::
\mu V = 0.195 \mu V/LSB * (Sample - 32768.0)
- TwosCompliment: raw 16-bit signed integer conversion results in two's complement.

.. math::
\mu V = 0.195 \mu V/LSB * Sample
- MicroVolts: 32-bit floating-point sample values in microvolts.

* - AuxDataFormat
- enum
Expand Down

0 comments on commit 4fa9fd4

Please sign in to comment.