Giter Club home page Giter Club logo

online-psth's Introduction

Online PSTH

Online PSTH Editor

Plots a peri-stimulus time histogram of spikes locked to incoming TTL events.

Installation

This plugin can be added via the Open Ephys GUI Plugin Installer. To access the Plugin Installer, press ctrl-P or ⌘P from inside the GUI. Once the installer is loaded, browse to the "Online PSTH" plugin and click "Install."

Usage

Example screenshot

Instructions for using the Online PSTH plugin are available here.

Building from source

First, follow the instructions on this page to build the Open Ephys GUI.

Important: This plugin is intended for use with the latest version of the GUI (0.6.0 and higher). The GUI should be compiled from the main branch, rather than the former master branch.

Then, clone this repository into a directory at the same level as the plugin-GUI, e.g.:

Code
├── plugin-GUI
│   ├── Build
│   ├── Source
│   └── ...
├── OEPlugins
│   └── online-psth
│       ├── Build
│       ├── Source
│       └── ...

Windows

Requirements: Visual Studio and CMake

From the Build directory, enter:

cmake -G "Visual Studio 17 2022" -A x64 ..

Next, launch Visual Studio and open the OE_PLUGIN_online-psth.sln file that was just created. Select the appropriate configuration (Debug/Release) and build the solution.

Selecting the INSTALL project and manually building it will copy the .dll and any other required files into the GUI's plugins directory. The next time you launch the GUI from Visual Studio, the Online PSTH plugin should be available.

Linux

Requirements: CMake

From the Build directory, enter:

cmake -G "Unix Makefiles" ..
cd Debug
make -j
make install

This will build the plugin and copy the .so file into the GUI's plugins directory. The next time you launch the compiled version of the GUI, the Online PSTH plugin should be available.

macOS

Requirements: Xcode and CMake

From the Build directory, enter:

cmake -G "Xcode" ..

Next, launch Xcode and open the online-psth.xcodeproj file that now lives in the “Build” directory.

Running the ALL_BUILD scheme will compile the plugin; running the INSTALL scheme will install the .bundle file to /Users/<username>/Library/Application Support/open-ephys/plugins-api. the Online PSTH plugin should be available the next time you launch the GUI from Xcode.

online-psth's People

Contributors

anjaldoshi avatar jsiegle avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

online-psth's Issues

Integration with network events

This plugin looks great! Is there a way to integrate it with the network events plugin and align to e.g. strings sent over the network?

Using Events 8 bit words with Online PSTH

Hello

I've opened this discussion on the google group. I'd like to to trigger online PSTH based on a specific combination of events (i.e. a specific 8 bit words), and not based on a specific event channel (a single TTL). It seems pretty easy (event->getWord() instead of event->getLine() on line 113 of OnlinePSTH.cpp,) and increase the available triggers to 256.
I tried to do it myself but I failed the compilation part... Can you do it for me please?

Thanks
Guilhem

Pre and post window are too short

I can not seem to set the pre_ms and post_ms higher than 1000 ms. Is there a reason for this limitation beyond easy visualisation?

For example we have a stimulus that is 15.2s long and changes paramaters every 475ms so we would ideally want to be able to see one full run in real time to get something like a tuning curve.

Would be great if this could be made possible

Feature requests

(from Tsao Lab at UC Berkeley)

  • make it possible to overlay different conditions on top of one another
  • make it possible to create separate plots for each unit (rather than each electrode)
  • custom colors for different conditions; currently, if they all trigger on the same TTL line, the colors will be the same
  • add a button to export current PSTH values
  • make the parameters (condition names, trigger lines, etc.) configurable via the HTTP server

Single trial or averaged?

Hello

I'm wondering whether the pluggin is plotting single trials only (complete refresh of the graphs on each trial) or whether it averaged over the different trials? I have the impression it's the first one but I'm not sure. If so, would it be possible to have a version which averages activities over the trials?
Thanks
Guilhem

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.