Python bindings to the MVD3 neuroscience file format
Project description
MVD-tool
Information
A simple C++ parser and tool for the MVD3 and Sonata neuroscience file formats
- provide a tool to convert MVD2 to MVD3
- provide a tool to export MVD to CSV
- provide a simple header base parser for MVD2
- provide a parser based on the HighFive library for MVD3 and Sonata
It also provides a high level Python API for parsing MVD3 and Sonata files.
Compilation
Prerequisites
- CMake >= 3.0
- GCC >= 4.9
- BOOST >= 1.41
- HighFive
- libSONATA
Compile and Install the C++ parser
mkdir build; pushd build
cmake ../ -DCMAKE_INSTALL_PREFIX=<install_dir>
make
make install
Compile and Install the Python API
python setup.py install
Examples with the Python API
Reading Sonata files
import mvdtool
node = mvdtool.open("tests/nodes.h5")
# retrieve data for the full range
node.morphologies()
# retrieve data for a certain range
node.morphologies([0, 1, 3])
Reading MVD3 files
import mvdtool
mvd = mvdtool.open("tests/circuit.mvd3")
mvd.morphologies()
Certain attributes in MVD files require the information from the mecombo file. In this case, it's strictly necessary that the mecombo file contains all combos from the MVD file.
mvd_tsv = mvdtool.open("tests/circuit_tsv.mvd3")
mvd_tsv.open_combo_tsv("tests/mecombo_emodel.tsv")
mvd_tsv.emodels()
Funding & Acknowledgment
The development of this software was supported by funding to the Blue Brain Project, a research center of the École polytechnique fédérale de Lausanne (EPFL), from the Swiss government's ETH Board of the Swiss Federal Institutes of Technology.
Copyright © 2015-2022 Blue Brain Project/EPFL
License
LGPLv2.1+
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file MVDTool-2.4.8.tar.gz
.
File metadata
- Download URL: MVDTool-2.4.8.tar.gz
- Upload date:
- Size: 642.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87f35947b5a7a9c0d7badf99073fbf863e28bf7d61dd7ab1ea5c51afa14c47f4 |
|
MD5 | 4dd1b55681f2dd9f3e33065129f072f9 |
|
BLAKE2b-256 | 1d7eec064eb95c1615bdcc5bb63bc024610d6e6eb3a2406ecf96dd44f6693a98 |
Provenance
File details
Details for the file MVDTool-2.4.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: MVDTool-2.4.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6549934bf77d037b263a25a1aa925f089949154370af392e5e668e9afff6fc8b |
|
MD5 | 8893757a16474cbef0f418bf08b630e3 |
|
BLAKE2b-256 | cd70dacfc1051dd81470aa7830f0998e7478c516814a2cefaddaa82753c73086 |
Provenance
File details
Details for the file MVDTool-2.4.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: MVDTool-2.4.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fd1598e962681d062471d2b7ee45317d00bf1a38c2caf92e5b0d06b59d68aba |
|
MD5 | 746d886355211485cadd7d3dd989b08a |
|
BLAKE2b-256 | 31b3862cc3431f6ba1128c0e2ec6bfe965335c2960c7f456ecf332a811f40588 |
Provenance
File details
Details for the file MVDTool-2.4.8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: MVDTool-2.4.8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a965afe2f5f09dc547943b5125243f9b1a599d54829fa293a63a1b82b4e00e4 |
|
MD5 | 79ec05463a2fe25e93220c4818430d68 |
|
BLAKE2b-256 | cb5cf964200e57f78b315e29339af915cd432c076aaefe922b4cfbe2f3dc24ba |
Provenance
File details
Details for the file MVDTool-2.4.8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: MVDTool-2.4.8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9429f99eefe8743f61721460341c3ee7ae4be6269ff594ffe837351949f2f138 |
|
MD5 | d891309b837f8ed6466fbf54842698e0 |
|
BLAKE2b-256 | 81791e28ca6035db33c0a2f3c7a83b1b86f1a0d8253e43818ecf76eb21ff5f2f |
Provenance
File details
Details for the file MVDTool-2.4.8-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: MVDTool-2.4.8-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4a8816d9b2c53f0468de6de45e969f01d10553014c9ffde08001f7ff8c51268 |
|
MD5 | b0e88ffb86bd4b9943e7f89357c0fb45 |
|
BLAKE2b-256 | 604269e60bc0f3a951a70f49841e638a5549118c496eb63ca280af237a9e93ac |