Coder Social home page Coder Social logo

aind.behavior.bcinomovement's Introduction

aind-bci-no-movement

Deployment

To deploy the Bonsai code, run ./bonsai/setup.cmd. This small script will download and regenerate the current bonsai environment (see tutorial for further details.)


Prerequisites

These should only need to be installed once on a fresh new system, and are not required if simply refreshing the install or deploying to a new folder.


Notes on data-schema regeneration

1 - Install bonsai.sgen dotnet tool

2 - Run bonsai.sgen targeting the root schema in src/DataSchemas. E.g.:

To regenerate the loggers, use:

bonsai.sgen --schema "src\DataSchemas\bci-no-movement-logging.json" --namespace BciNoMovement.Logging --root BciNoMovementLogging --output "src\Extensions\BciNoMovementLogging.cs" --serializer NewtonsoftJson YamlDotNet
``

aind.behavior.bcinomovement's People

Contributors

bruno-f-cruz avatar

Stargazers

 avatar

Watchers

David Feng avatar

Forkers

eegkit lkinsey

aind.behavior.bcinomovement's Issues

Camera Lag

The longer a session runs, the slower the camera acquisition seems to be.

LoadCell_Offset Not Effecting Load Cell Readout

There may be an issue with how the load cell is reading movement. To summarize, when lightly tapping upwards on the mouse chair, large spikes are visible in the raw data (indicated as "up" in plot), however, tapping down with similar pressure only shows barely noticeable deflections in the load cell data (indicated as "down" in plot).

loadCell Debugging

The command that sets the load cell bias:

operation=Operation(loadCellOffset=[50, 0, 0, 0, 0, 0, 0, 0], loadCellIndex=0)

also does not seem to affect the readout of the load cell. All channels and several values ranging from -127 to 127 have been tried, none have had an effect on this phenomenon.

Plot Adjustments

For plots in general, can we add axis labels?

Also, for movement (and BCI) plot, can we adjust the axes of each plot to show a fixed time window (x) and adjust the y axis to be 0-1000 for the movement plot?

Might be separate discussion on whether it makes sense to do this for the motor position plot, because it is useful to see motor movement for the entire session on this plot. It offers a good way to count the number of trials that have occurred. The only drawback is that as the session gets longer, there is lag time the comes up when updating the plots, it seems.

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.