GithubHelp home page GithubHelp logo

creyesp / mea-analysis Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 2.0 9.94 MB

Data science project to analyse a multi-electrodes recording

License: GNU General Public License v3.0

Jupyter Notebook 99.41% Python 0.59%

mea-analysis's Introduction

Install

Prerequisits

Python 3.5+ or Anaconda3

For windows download and install Visual c++ https://visualstudio.microsoft.com/downloads/

Create environments and install packages

A good practice is creates a virtual environment with conda (or virtualenv) because create a isolated python environment.

$ conda env create -f conda_environment.yml
$ conda activate spklib # if you have problems with it, try windows: activate spklib linux: source activate spklib

or use virtualenv

$ virtualenv --python=python3.7 venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ pip install -r requirements_git.txt

Download external library to load mcd files

To read mcd files spikelib package use neuroshare package to do it. So you need download the correct .dll (windows) or .so (linux) file. For more details about neuroshare see https://pythonhosted.org/neuroshare/

Download neuroshare lib from https://www.multichannelsystems.com/software/neuroshare-library

For Linux:

$ tar xvzf nsMCDLibrary_Linux64_3.7b.tar.gz
$ cp nsMCDLibrary/* ~/.neuroshare/

For Windows:

1) UNCOMPRESS nsMCDLibrary_3.7b.zip file 
2) COPY nsMCDLibrary_3.7b\Matlab\Matlab-Import-Filter\Matlab_Interface\nsMCDLibrary64.dll
3) PASTE TO your_path\Anaconda3\envs\spklib\DLLs\nsMCDLibrary64.dll
4) RENAME nsMCDLibrary64.dll TO nsMCDLibrary.dll 

Activate nb extensions (optional)

  • Table of Contents
  • Variable inspector
  • Notify
  • Highlight selected word
  • Codefolding in Editor
  • table_beautiflier
  • highligther
  • Codefolding

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.