open-ephys / bonsai-onix1-docs

Documentation for the OpenEphys.Onix1 Bonsai package
https://open-ephys.github.io/bonsai-onix1-docs/
Creative Commons Attribution Share Alike 4.0 International
0 stars 2 forks source link

Tutorial: using the Ephys Socket for visualization #121

Open ChucklesOnGitHub opened 3 weeks ago

ChucklesOnGitHub commented 3 weeks ago

Document the scaling setttings

ChucklesOnGitHub commented 3 weeks ago

proto workflow. np1e needs to get a lfp viewer for the lfp data. also, structure will change once ephys socket changes socket.zip

ChucklesOnGitHub commented 1 week ago

This is for continuous signals in Mat format

  1. Install Bonsai library OpenEphys.Sockets.Bonsai and Open Ephys GUI plugin Ephys Socket or upgrade library and packages as necessary.
  2. Build the Bonsai workflow including the TCP Socket at the top (Use Alt and drag if not at the top). Name it.
  3. In the SendMatOverSocket choose same name via drop-down
  4. Build the Open Ephys GUI signal chain using the Ephys Socket as a source processor. Configure accordingly. Use other downstream processors as needed (e.g. Probe Viewer or LFP viewer).
  5. Start the workflow in Bonsai.
  6. Click CONNECT in the Ephys Socket Processor and Start acquisition in the GUI

Troubleshooting: if you cannot Start Acquisition in the GUI, check that the workflow in Bonsai is running. If you can’t see data, troubleshoot acquisition in Bonsai.

Scale and Offset values as per the table. @cjsha s a text under the table should refer to the fact that in the GUI the Offset value is positive because of how it performs the calculation and in Bonsai the ConvertScale node uses Shift as negative. See below:

image

ChucklesOnGitHub commented 1 week ago

I made the proto workflow with np1e for the sake of showing LFP viewer and Probe viewer, but perhaps we are better off showing it with the np2e. With that one we can show how to do an ephys socket for each of the probes. Maybe this is two tutorials?