Skip to main content

A package for performing whole brain simulations

Project description

THE VIRTUAL BRAIN SCIENTIFIC LIBRARY

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

“TVB Scientific Library” is the most important scientific contribution of TVB Project, but only a part of our code. In order to use this TVB Python Library (modify/run/test), you are advised to follow the steps described here: http://docs.thevirtualbrain.com/manuals/ContributorsManual/ContributorsManual.html#contributors-manual

The interaction with TVB source code is recommended for advanced users only, for which the concepts proposed by TVB are known and understood, and which also have some programming knowledge.

“TVB Scientific Library” comes in two major forms for code-contributors: as a light-weight Python library, or plugged into TVB framework (including Web interface and Persistence of data layers). Depending on your needs and resources, you could use any of the two available options for contributing and testing new 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.

For more details, check: http://www.thevirtualbrain.org/

“TVB Scientific Library” contains the following packages: basic, datatypes, simulator and analyzers. The dependencies between these packages can be seen in tvb-package-diagram.jpg . Following is a short description of each of these packages:

  • tvb.basic

This package is the base of TVB and holds sub-packages that are used by most of the other packages like logging, global settings and the TVB traits package. You should rarely (if at all) need to change code in this package, and should know exactly what you are doing before attempting to change anything from here.

  • tvb.datatypes

The simulator and analyzers packages (as well as uploaders and visualizers in TVB Framework) will need to have a common “language” in order to work with the same data. In TVB architecture, that “common language” is represented by Data Types. TVB Data Types declarations are located in this package.

Most of the datatypes here have a diamond like inheritance structure of the following form:

             DataTypeData
                  |
                 / \\
DataTypeFramework   DataTypeScientific
                 \ /
                  |
               DataType

The DataTypeData holds the actual structure of the datatype. DataTypeScientific holds any methods required from a scientific point of view. DataTypeFramework should just be ignored from a library user point of view as it holds framework related methods and will be removed altogether in the near future. DataType just brings all the above together and is the class you should actually use in your code.

  • tvb.simulator

The Simulation Component is the most important component in The Virtual Brain solution, as it is the component responsible for all the scientific computation related to brain models and data.

You can find various demos of using the simulator under tvb/simulator/demos as well as some nice tutorials under tvb/simulator/doc/tutorials/ .

  • tvb.analyzers

Holds modules that can run various analysis of data resulted from the simulator. There are a few demos which use the PCA analyzer like tvb/simulator/demos/pca_analyse_view_region and tvb/simulator/demos/pca_analyse_view_surface . TVB is not strong in doing data analysis, we barely have a minimum set of analyzers for immediate needs.

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.

Further Resources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tvb-library-1.5.4.0.tar.gz (490.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tvb_library-1.5.4.0-py2-none-any.whl (755.0 kB view details)

Uploaded Python 2

File details

Details for the file tvb-library-1.5.4.0.tar.gz.

File metadata

  • Download URL: tvb-library-1.5.4.0.tar.gz
  • Upload date:
  • Size: 490.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tvb-library-1.5.4.0.tar.gz
Algorithm Hash digest
SHA256 a30dac47ccc31a18e6d2fca930f2e6efc3535fac1332655feb44d3e14a8d2f1b
MD5 a59efa09a559f3eaf4fbc579919f566c
BLAKE2b-256 d2959f05b5b7038a9b19923ce65169fcd3be5da4eeee7d52f3929302e8619af7

See more details on using hashes here.

File details

Details for the file tvb_library-1.5.4.0-py2-none-any.whl.

File metadata

File hashes

Hashes for tvb_library-1.5.4.0-py2-none-any.whl
Algorithm Hash digest
SHA256 e65a5327a3be897c9b795079fcfa915ced834b80710612003bc11e9d0f026519
MD5 0fb052ccd4201991779cfb099b292e5c
BLAKE2b-256 977f46ef127fdd3be5cbd146c93d21a6d5e5f789b8316fde54decaf9e8358c34

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page