From 41922645cde9b5477e32d3135b2f22e5413c15b5 Mon Sep 17 00:00:00 2001 From: Brandon Parks Date: Tue, 2 Apr 2024 11:07:03 -0400 Subject: [PATCH] Ephys socket update - Add HTTP documentation (#40) * Add HTTP documentation * Remove caching of dependencies --- .github/workflows/sphinx-build.yml | 7 ------- source/User-Manual/Plugins/Ephys-Socket.rst | 19 ++++++++++++++++++- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/.github/workflows/sphinx-build.yml b/.github/workflows/sphinx-build.yml index 6b84b78..9e683c7 100644 --- a/.github/workflows/sphinx-build.yml +++ b/.github/workflows/sphinx-build.yml @@ -25,14 +25,7 @@ jobs: run: | python -m pip install --upgrade pipenv wheel - - id: cache-pipenv - uses: actions/cache@v1 - with: - path: ~/.local/share/virtualenvs - key: ${{ runner.os }}-pipenv-${{ hashFiles('**/Pipfile.lock') }} - - name: Install dependencies - if: steps.cache-pipenv.outputs.cache-hit != 'true' run: | pipenv install --deploy --dev diff --git a/source/User-Manual/Plugins/Ephys-Socket.rst b/source/User-Manual/Plugins/Ephys-Socket.rst index 2da16df..4f74a0a 100644 --- a/source/User-Manual/Plugins/Ephys-Socket.rst +++ b/source/User-Manual/Plugins/Ephys-Socket.rst @@ -110,7 +110,7 @@ An example Python script is included in the `Resources `__, an enumeration defined as :code:`[U8, S8, U16, S16, S32, F32, F64]`, where U is 'unsigned', S is 'signed', F is 'float', and the number indicates the number of bits. For example, :code:`U16` means 'unsigned integer with 16 bits'. Note that the enumeration is zero-indexed, where :code:`U8 = 0`, and :code:`F64 = 6`" + "Bit Depth", "`int16`", "Depth defines the OpenCV.Mat `Depth `__, an enumeration defined as :code:`[U8, S8, U16, S16, S32, F32, F64]`, where U is 'unsigned', S is 'signed', F is 'float', and the number indicates the number of bits. For example, :code:`U16` means 'unsigned integer with 16 bits'. Note that the enumeration is zero-indexed, where :code:`U8 = 0`, and :code:`F64 = 6`" "Element Size", "`int32`", "Number of bytes needed for each sample. For :code:`U16`, :code:`element_size = 2`, while for :code:`F64`, :code:`element_size = 8`." "Number of Channels", "`int32`", "Number of channels per packet." "Number of Samples", "`int32`", "Number of samples sent per channel per packet." @@ -118,3 +118,20 @@ An example Python script is included in the `Resources ` : set the data scale +3. :code:`ES OFFSET ` : set the data offset +4. :code:`ES PORT ` : set the port number +5. :code:`ES FREQUENCY ` : set the sampling frequency