/Neuron-Data

Want to download bunch of neurons? Come here!

Primary LanguageJupyter NotebookMIT LicenseMIT

Download-neuromorpho.org

A Python code to download http://neuromorpho.org/

License

Having trouble while downloading neuromorpho's data? Use this code to get them all in a nice dataframe format! It downloads the swc as well as all the metadata that exist for a given neuron. e.g. http://neuromorpho.org/neuron_info.jsp?neuron_name=5038801

Contact: Roozbeh Farhoodi [roozbehfarhoodi@gmail.com]

Install package

Clone the repository

$ git clone ps://github.com/RoozbehFarhoodi/Download-neuromorpho.org
$ cd Download-neuromorpho.org/

Dependencies

numpy
pandas
urllib
ast
re
json
urllib2
bs4
unidecode

Usage

After installing, open a note book and write:

import download_neurmorpho as dnm
neurons = dnm.download_neuromorpho(start_nmo=0, end_nmo=10)

neurons gives the database of all the neuron in the range of downloading.