All Projects → the-virtual-brain → tvb-root

the-virtual-brain / tvb-root

Licence: other
Main TVB codebase

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
TeX
3793 projects
CSS
56736 projects

Projects that are alternatives of or similar to tvb-root

neurotic
Curate, visualize, annotate, and share your behavioral ephys data using Python
Stars: ✭ 24 (-47.83%)
Mutual labels:  neuroscience
nmodl
Code Generation Framework For NEURON MODeling Language
Stars: ✭ 42 (-8.7%)
Mutual labels:  neuroscience
Miniscope-v4
All things Miniscope v4
Stars: ✭ 90 (+95.65%)
Mutual labels:  neuroscience
DTW
Dynamic Time Warping in Python / C (using ctypes)
Stars: ✭ 26 (-43.48%)
Mutual labels:  neuroscience
clinica
Software platform for clinical neuroimaging studies
Stars: ✭ 153 (+232.61%)
Mutual labels:  neuroscience
spykesim
Extended edit similarity measurement for high dimensional discrete-time series signal (e.g., multi-unit spike-train).
Stars: ✭ 18 (-60.87%)
Mutual labels:  neuroscience
brainlit
Method container for computational neuroscience on brains.
Stars: ✭ 20 (-56.52%)
Mutual labels:  neuroscience
Neurapse
Nuerapse simulations for SNNs
Stars: ✭ 22 (-52.17%)
Mutual labels:  neuroscience
python-meegkit
🔧🧠 MEEGkit: MEG & EEG processing toolkit in Python 🧠🔧
Stars: ✭ 99 (+115.22%)
Mutual labels:  neuroscience
PyRhO
A virtual optogenetics laboratory
Stars: ✭ 30 (-34.78%)
Mutual labels:  neuroscience
Segregated-Dendrite-Deep-Learning
Deep learning in a spiking neural network using segregated dendrites.
Stars: ✭ 79 (+71.74%)
Mutual labels:  neuroscience
gifti
MATLAB/Octave GIfTI Library
Stars: ✭ 16 (-65.22%)
Mutual labels:  neuroscience
neuroexpresso
📊 Gene expression in neuroexpresso database
Stars: ✭ 15 (-67.39%)
Mutual labels:  neuroscience
ColeAnticevicNetPartition
Public release of The Cole-Anticevic Brain-wide Network Partition (CAB-NP)
Stars: ✭ 48 (+4.35%)
Mutual labels:  neuroscience
mne-bids
MNE-BIDS is a Python package that allows you to read and write BIDS-compatible datasets with the help of MNE-Python.
Stars: ✭ 88 (+91.3%)
Mutual labels:  neuroscience
NEURON-UI
NEURON User Interface
Stars: ✭ 14 (-69.57%)
Mutual labels:  neuroscience
Dcm2Bids
Reorganising NIfTI files from dcm2niix into the Brain Imaging Data Structure
Stars: ✭ 109 (+136.96%)
Mutual labels:  neuroscience
cellfinder
Automated 3D cell detection and registration of whole-brain images
Stars: ✭ 122 (+165.22%)
Mutual labels:  neuroscience
neuronunit
A package for data-driven validation of neuron and ion channel models using SciUnit
Stars: ✭ 36 (-21.74%)
Mutual labels:  neuroscience
kfs
Keras for Science
Stars: ✭ 69 (+50%)
Mutual labels:  neuroscience

The Virtual Brain

"The Virtual Brain" Project (TVB Project) has the purpose of offering modern tools to the Neurosciences community, for computing, simulating and analyzing functional and structural data of human brains, brains modeled at the level of population of neurons.

  1. To install TVB code on your machine, we recommend you to first create a dedicated Python env, and afterwards to take our Pypi released packages:

     pip install tvb-library
     pip install tvb-framework
    
  2. Alternatively and easier, you could simply download TVB_Distribution from: https://www.thevirtualbrain.org/tvb/zwei/brainsimulator-software. In this variant, you will have Python, TVB and all our 3rd party dependencies downloaded together, you do not need to do anything else other than unzip and double click on tvb_start command.

  3. This repository holds the python sources for TVB main codebase. If you clone this repository for extending its functionality, first create a dedicated Python env, select it and then run inside tvb_build folder the following command to link tvb-sources as libraries:

     sh install_full_tvb.sh
    

NOTE:

To contribute to this repo, you are advised to first fork it under GitHub (through the web ui), and next clone that fork on your machine, and use it as you use any other git repository.

More details on our documentation site: http://docs.thevirtualbrain.org.

TVB Scientific library (tvb-library)

"TVB Scientific Library" is the most important scientific contribution of TVB Project, but only a part of our code.

"TVB Scientific Library" is a light-weight, stand-alone Python library that contains all the needed packages in order to run simulations and analysis on data without the need for the entire TVB Framework. This implies that no storage will be provided so data from each session will be lost on close. You need to either persist it yourself in some manner or use the full TVBFramework where HDF5 / database storage is provided as default.

TVB Framework (tvb-framework)

The Virtual Brain framework is a complete framework, wrapped over tvb-library, and offering extra features:

  • a plug-able workflow and operations manager;
  • a data persistence layer (with a relational DB and H5 File Storage);
  • an HTML5 based user interface over CherryPy server;
  • visualizers for neuro-science related entities.

You can launch the web interface of TVB with the following command:

python -m tvb.interfaces.web.run WEB_PROFILE

Your port 8080 should be free, as a CherryPy service will try to run there. Your default browser should automatically open http://localhost:8080/ which is the way to interact with TVB Web Graphical Interface.

When using from sources (Pypi or Github, not TVB_Distribution), if you want BCT adapters enabled, you should manually download BCT https://sites.google.com/site/bctnet/ and set env variable BCT_PATH towards the directory where you unzip BCT, plus also have Octave or Matlab installed with command line API enabled.

Testing

For testing our packages, PyTest framework can be used.

Pytest will run all files in the current directory and its subdirectories of the form test_*.py or *_test.py.

The command for running our tests has two forms:

  1. Recommendation when working with a git clone of this TVB Github repo:

       cd [folder_where_tvb_framework_is]
       python -m pytest tvb/tests/framework [--profile=TEST_POSTGRES_PROFILE] [--junitxml=path]
       # default profile value is TEST_SQLITE_PROFILE
    
       cd [folder_where_tvb_library_is]
       python -m pytest tvb/tests/library [--junitxml=path]
    
  2. The second alternative form of running TVB tests, when installing TVB from Pypi, is:

       pip install -U tvb-framework
       python -m pytest --pyargs tvb.tests.framework
    
       pip install -U tvb-library
       python -m pytest --pyargs tvb.tests.library
    
  • For all the tests to run correctly, the dependencies specified as LIBRARY_REQUIRED_EXTRA in setup.py should be installed
  • Make sure that tvb-data package is installed from Zenodo

Coverage

A coverage report can be generated with:

pip install pytest-cov
cd [folder_where_tvb_framework_is]
py.test --cov=tvb tvb/tests/ --cov-branch --cov-report xml:[file_where_xml_will_be_generated]

cd [folder_where_tvb_library_is]
py.test --cov-config .coveragerc --cov=tvb tvb/tests/ --cov-branch --cov-report xml:[file_where_xml_will_be_generated]

Relevant TVB Resources

Acknowledgments

This project has received funding from the European Union’s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreement Nos. 785907 (Human Brain Project SGA2), 945539 (Human Brain Project SGA3) and VirtualBrainCloud 826421.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].