Giter Club home page Giter Club logo

neuropy's Introduction

neuropy is a Python application for interactive analysis of sorted neuronal spike data and raw LFP waveforms.

The user-facing data object hierarchy looks like this:

                                level:

                Animal            1
                  |
                Track             2             Track
                  |                               |
              Recording           3           TrackSort
             /         \                          |
       Experiment      Sort       4          TrackNeuron
                        |
                      Neuron      5

Once data are loaded, they can be accessed in various ways:

animal.track.recording
animal.tr[trackid].r[recordingid]
recording.n[neuronid]

For example, to plot a population raster plot of all active cells in recording 5 of track 1 of animal example1, you can type:

example1.tr1.r05.praster()

Different object types have different analysis methods associated with them. Thanks to IPython, tab completion should help you discover analysis methods, and typing ? after the method name or simply typing the opening parenthesis should give you a docstring.

As for internal variable scope, this is how things work:

Main Qt event loop creates a
    NeuropyWindow which runs an
        IPython session which imports
            neuropy modules

So, something like get_ipython() only works from within those neuropy modules that have been imported during the IPython session, but not in any of NeuropyWindow's methods.

Dependencies:

neuropy requires recent versions of the following to be installed:

Optional:

neuropy is developed in Xubuntu 12.10. It should work in other Linux distributions. In principle, it should also work in Windows and OSX.

An older version is described in the paper [Python for large-scale electrophysiology] (http://www.frontiersin.org/Neuroinformatics/10.3389/neuro.11.009.2008/abstract).

To run:

$ python main.py # in the neuropy folder

To install for use as a library:

$ python setup.py install

neuropy's People

Contributors

mspacek 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.