Giter Site home page Giter Site logo

cage_data's Introduction

Python codes for loading and managing M1 neural data and EMG data collected in the Miller Lab's plastic telemetry cage

Overview

We are using Blackrock Cerebus for M1 data recording and DSPW RCB module for EMG recording on freely moving monkeys wirelessly. Since data format and recording contexts are very different from those done inside the lab, here we don't use the way for data loading and managing in the cds. Instead, we built a framework for such processing in Python. This repository contains the core codes and some examples. Additionally, for free reaching data recorded in lab, these codes are also useful.

In very early versions of these codes, we tried to directly read Blackrock .nev files in Python, but it would take more than 30 minutes to read a single 15-minute file due to the inefficiency of Blackrock BRPY package. As an altenative solution, we first converted Blackrock .nev files into MATLAB .mat files, then read the .mat file in Python. Fortunately, Blackrock has an updated version of BRPY recently and it works pretty well. Therefore, now we can skip the "MATLAB" step and use BRPY to read the .nev files directly.

The codes also include functions for semi-automatic artifacts rejection based on waveform features. Besides, the codes can read data files with sorted single units.

Details about how to use these codes and designing concerns to be continued, check the examples first if you are interested

cage_data's People

Contributors

xuanma avatar

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.