Coder Social home page Coder Social logo

maru's Introduction

maru (Multi-electrode Array Recording Utilities)

This project aims to provide various utilities for multi-electrode array recording setups based on MWorks (http://mworks-project.org/) and Blackrock/Plexon systems.

Installation

To install: python setup.py install

To install locally under the home directory: python setup.py install --user

Note that the package depends on the following Python packages:

Usage

Core utilities and a typical procedure:

        +--------+          +------------------+
        | MWorks |          | BlackRock/Plexon |
        +--------+          +------------------+        
             |                       |       
             v                       v
       (Original .mwk)          (.nev/.plx)------------+
             |                       |                 |
             v                       v                 |
   +-----------------------------------------------+   |
   | maru-merge: merge behavior .mwk files and     |   |
   |    neural signal files .nev/.plx to produce   |   |
   |    merged .mwk files                          |   |
   +---------------------+-------------------------+   |
                         |                             |
                         v                             |
       +-------- (Merged .mwk files)                   |
       |                 |                             |
       |                 .                             .
       |                 .                             .
       |                 .  (Optional: spike sorting)  .
       |                 .                             .
       |                 .                             .
       |                 v                             v
       |    +-----------------------------------------------+
       |    | maru-psinfo --wav=<.nev file name>            |
       |    |   collect peristimulus spike information AND  |
       |    |   waveform snippets of the spikes             |
       |    +----------------------+------------------------+
       |                           |
       |                           v
       |      (Peristimulus spiking information w/ waveforms)
       |                           |
       |                           v
       |    +-----------------------------------------------+
       |    | maru-spksort feature                          |
       |    |   compute features for clustering             |
       |    +----------------------+------------------------+
       |                           |
       |                           v
       |              (Feature files.c1.feat.h5)
       |                           |
       |                           v
       |    +-----------------------------------------------+
       |    | maru-spksort cluster                          |
       |    |   sort spikes by clustering                   |
       |    +----------------------+------------------------+
       |                           |
       |                           v
       |            (Sorted spikes files.c2.clu.h5)
       |                           |
       |                           v
       |    +-----------------------------------------------+
       |    | maru-spksort collate                          |
       |    |   merge multiple .c2.clu.h5 files and produce |
       |    |   peristimulus spike information.psf.h5 files |
       |    +---------------------------------+-------------+
       |                                      |
       v                                      |
   +-----------------------------------+      |
   | maru-psinfo: collect peristimulus |      |
   |    spike information without      |      |
   |    spike sorting                  |      |
   +-------------------+---------------+      |
                       |                      |
                       v                      v
               (Peristimulus spiking information.psf.h5)
                                 |
                                 v
          +-----------------------------------------------+
          | maru-util-psinfo2feat: compute feature matrix |
          |    by integrating over time bins              |
          +----------------------+------------------------+
                                 |
                                 v
                         (Features.feat.h5)
                                 |
                                 v
          +-----------------------------------------------+
          | maru-util-featconcat: concatnate multiple     |
          |    feature matrix files into a single file    |
          +----------------------+------------------------+
                                 |
                                 v
                    (Concatenated features.feat.h5)

Additional utilities:

  • maru-check-psth: plot PSTHs for .psf.h5 files and provide diagnosis about the quality of the channels.
  • maru-check-impedance: compare multiple BlackRock impedance log files and visualize changes.

maru's People

Contributors

hahong avatar

Watchers

James Cloos avatar Sachi Sanghavi 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.