Skip to main content

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+

Metadata

Release files for MVDTool 2.4.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MVDTool 2.4.11
File Size Uploaded Provenance
MVDTool-2.4.11.tar.gz 642.5 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for MVDTool 2.4.11
File
MVDTool-2.4.11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
MVDTool-2.4.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
MVDTool-2.4.11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
MVDTool-2.4.11-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details
MVDTool-2.4.11-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 Details

Total release size: 12.7 MB

Release files / MVDTool-2.4.11.tar.gz

Download URL MVDTool-2.4.11.tar.gz
Size 642.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fed7b76caca911b1d99e6299a86e447afad5aadad0bccdb2f9b72863b2c5da84
BLAKE2b-256 checksum
How to use checksums
1d0514fc4407234bb4bad00d8b378f2358fa939abdb6b046f83992b6de2a8954
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.15

Release files / MVDTool-2.4.11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL MVDTool-2.4.11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.4 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
11151ca1187d3dad575e98a5e0b243851746b314da2ed891f9b2775114b69122
BLAKE2b-256 checksum
How to use checksums
6dce1435a5ce00f2777293aaf7e2258d7bc1794b565b610d0f88008c83a60250
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.15

Release files / MVDTool-2.4.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL MVDTool-2.4.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.4 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
deaf7ed7a2bb9fb7913305e1520599986578aa528c4be891c972aa32bacb41a6
BLAKE2b-256 checksum
How to use checksums
cefeb4862f57abc70b0020e9bd9534daac22659ea5ec16133ede0696f4bdf745
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.15

Release files / MVDTool-2.4.11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL MVDTool-2.4.11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.4 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
095b1f989bbacb4b39b289425d1e71e7848fc406ddb9186dd04ea9c14911c912
BLAKE2b-256 checksum
How to use checksums
319c3fb0ac702d39b42448ef7e5e9a40a46d50950f769e5a55a8ff384240896d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.15

Release files / MVDTool-2.4.11-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL MVDTool-2.4.11-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.4 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
18cfa091e53c5ca18ba679654f4c50fe4bfa5e4b0f470f47bf092f11c4c3a076
BLAKE2b-256 checksum
How to use checksums
082665821e9ca18e685b9ecbe53b5bf87c1730fab52cf4eb6a380d6888d838c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.15

Release files / MVDTool-2.4.11-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL MVDTool-2.4.11-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.4 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
2af659e3d94a7fe03f0867fdb08651c13acbbced4f3601c4ffc8f9588a05d9d2
BLAKE2b-256 checksum
How to use checksums
383a97dc367e0e0c3d95e5e5c689f7bcc48261cfefec429fbc71a7a9f304e8a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.15

Security for MVDTool 2.4.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page