Skip to main content

A neuron morphology IO library

Project description

doc/source/logo/BBP-MorphIO.jpg

license documentation status

MorphIO

Documentation

MorphIO documentation is built and hosted on readthedocs.

Introduction

MorphIO is a library for reading and writing neuron morphology files. It supports the following formats:

  • SWC

  • ASC (aka. neurolucida)

  • H5 v1

  • H5 v2 is not supported anymore, see H5v2

It provides 3 C++ classes that are the starting point of every morphology analysis:

  • Soma: contains the information related to the soma.

  • Section: a section is the succession of points between two bifurcations. To the bare minimum the Section object will contain the section type, the position and diameter of each point.

  • Morphology: the morphology object contains general information about the loaded cell but also provides accessors to the different sections.

One important concept is that MorphIO is split into a read-only part and a read/write one.

H5v2

Starting at version 2.6.0, the file format h5v2 is no longer supported. If you have morphologies in this format, you can convert them to h5v1 with:

pip install "morphio<2.6" "morph-tool==2.3.0"

and then:

# single file, OUTPUT must end with `.h5`
morph-tool convert file INPUTFILE OUTPUT
# bulk conversion
morph-tool convert folder -ext h5 INPUTDIR OUTPUTDIR

Contributing

If you want to improve the project or you see any issue, every contribution is welcome. Please check the contribution guidelines for more information.

Acknowledgements

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.

This research was supported by the EBRAINS research infrastructure, funded from the European Union’s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreement No. 945539 (Human Brain Project SGA3).

License

MorphIO is licensed under the terms of the GNU Lesser General Public License version 3. Refer to COPYING.LESSER and COPYING for details.

Copyright (c) 2013-2022 Blue Brain Project/EPFL

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

MorphIO-3.3.6.tar.gz (576.3 kB view details)

Uploaded Source

Built Distributions

MorphIO-3.3.6-cp311-cp311-win_amd64.whl (573.3 kB view details)

Uploaded CPython 3.11 Windows x86-64

MorphIO-3.3.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

MorphIO-3.3.6-cp310-cp310-win_amd64.whl (573.4 kB view details)

Uploaded CPython 3.10 Windows x86-64

MorphIO-3.3.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

MorphIO-3.3.6-cp310-cp310-macosx_10_13_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.10 macOS 10.13+ x86-64

MorphIO-3.3.6-cp39-cp39-win_amd64.whl (573.4 kB view details)

Uploaded CPython 3.9 Windows x86-64

MorphIO-3.3.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

MorphIO-3.3.6-cp39-cp39-macosx_10_13_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.9 macOS 10.13+ x86-64

MorphIO-3.3.6-cp38-cp38-win_amd64.whl (573.3 kB view details)

Uploaded CPython 3.8 Windows x86-64

MorphIO-3.3.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

MorphIO-3.3.6-cp38-cp38-macosx_10_13_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.8 macOS 10.13+ x86-64

MorphIO-3.3.6-cp37-cp37m-win_amd64.whl (574.8 kB view details)

Uploaded CPython 3.7m Windows x86-64

MorphIO-3.3.6-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

MorphIO-3.3.6-cp37-cp37m-macosx_10_13_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.7m macOS 10.13+ x86-64

File details

Details for the file MorphIO-3.3.6.tar.gz.

File metadata

  • Download URL: MorphIO-3.3.6.tar.gz
  • Upload date:
  • Size: 576.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for MorphIO-3.3.6.tar.gz
Algorithm Hash digest
SHA256 0f2e55470d92a3d89f2141ae905ee104fd16257b93dafb90682d90171de2f4e6
MD5 fab5add7db91e4131c8073338ed68b79
BLAKE2b-256 2e8009d5c5474b66e6dec1d3a5fe5a9351e86ec069093f7af7e8815f7e689b36

See more details on using hashes here.

File details

Details for the file MorphIO-3.3.6-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: MorphIO-3.3.6-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 573.3 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for MorphIO-3.3.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3417b450a771b0ea806f1568f10486e196e61d899722b6f4ea5eb1ffcd8c104e
MD5 6b4cc3accf5b30809ae2fb0d71da5671
BLAKE2b-256 3fc479058fb96d5e5b1e9da4246cb8cf2e1806fd913682640d469bdf9dba9820

See more details on using hashes here.

File details

Details for the file MorphIO-3.3.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for MorphIO-3.3.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cc58deb394f69f9b0a0e5260191b9170b0861564a44ad5b9e866b14143e700aa
MD5 c2a3450fb7ed2d5152c72702ae931c83
BLAKE2b-256 ea49c75ab2d950f41bac144de7763c5f74c5ee14c69ed6f8f772898bd8ae257f

See more details on using hashes here.

File details

Details for the file MorphIO-3.3.6-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: MorphIO-3.3.6-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 573.4 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for MorphIO-3.3.6-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7d6b91f4c2cc018697aaa5ca10c3c1e9d4644f43b26414962739f42d684559aa
MD5 a94d6de878f6641205a0085a3fc1e18f
BLAKE2b-256 e0a7335a1ee50bf86db43a00663c81b77a5e2ba5c8eb3fc57dde41caaed82f2c

See more details on using hashes here.

File details

Details for the file MorphIO-3.3.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for MorphIO-3.3.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e67c9c8391dbf28dd9d505a312e1ca32e4fa4e1cc48fc9a8390b97c8c007c925
MD5 eb4e4d1f48ece4c5460ee7bff3f9e8c7
BLAKE2b-256 92af1bbc68bb1020f623ad00c52796b6f15583ba1d03ace52f3338959e96016c

See more details on using hashes here.

File details

Details for the file MorphIO-3.3.6-cp310-cp310-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for MorphIO-3.3.6-cp310-cp310-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 579335a1e46fd4881c5ebd7833742ec79f6826221d3f748234a7dd5f011915da
MD5 4671f318e76740caea7453284593a619
BLAKE2b-256 c15714097ece7e3609d0465e3dcacdf444619573641afc032c71388a7d003591

See more details on using hashes here.

File details

Details for the file MorphIO-3.3.6-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: MorphIO-3.3.6-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 573.4 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for MorphIO-3.3.6-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 ee0a0c7b47b90007979e4a4a08703c45981061f44567fd1f2f3f6875b215f375
MD5 c4f6763a13d8f43af1a28f3694762195
BLAKE2b-256 78eab443e5cff2c0cbdc54402b0228686a730815218a18ae478365a4ac0fa260

See more details on using hashes here.

File details

Details for the file MorphIO-3.3.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for MorphIO-3.3.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 416b0e9694144b7689d1cce812ea278fa3da4188994bfad45f60492d79bc315b
MD5 b8fa6955e09fb9fbefb50728e3c31374
BLAKE2b-256 8d46a8d53fb8d58c0c3544401076eff087b885a904776f94a1f1f62cc0546f5d

See more details on using hashes here.

File details

Details for the file MorphIO-3.3.6-cp39-cp39-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for MorphIO-3.3.6-cp39-cp39-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 14970f53e3cbf58106b65de1bb0e762752e36aefe53a1d81e7931d2ac21330fa
MD5 59c6c9f04a98b9c9b31154cdd6461a68
BLAKE2b-256 eec4c8103d65ebfa2fc1f92ddd21c437f837fd9258f4afe278d276e9b4fca56d

See more details on using hashes here.

File details

Details for the file MorphIO-3.3.6-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: MorphIO-3.3.6-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 573.3 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for MorphIO-3.3.6-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 59d38ea01c4e886be45d1eed1188721efea1af9b622e75eaa127fbe3b18b706c
MD5 fcecd55cd08953fdfe356f1e36fe7107
BLAKE2b-256 4392b944b5627c984659d4ffb412398ec8ab0c4328fbb7e059713b3e8056b3a4

See more details on using hashes here.

File details

Details for the file MorphIO-3.3.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for MorphIO-3.3.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 36bee59deb8d9893edb4f999053f31d09500f3bb6890fbcbd4bd50d36b5e7ade
MD5 1b157ff02f79b37e7fd987e92ced2af5
BLAKE2b-256 4b5558cf280f51bbc8e2a3ce76385e59a509210ca39a396b927020b8c1838c36

See more details on using hashes here.

File details

Details for the file MorphIO-3.3.6-cp38-cp38-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for MorphIO-3.3.6-cp38-cp38-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 b4e770591a208af1112cfee3280e977e5ec162dc7c4aece4360ddb8ab2e9c185
MD5 583f8c198c52c0bacd412efe13952bb1
BLAKE2b-256 291bcc8b61a49f9ab7a4087752e4e916bcecfdc51e486bd6c2fd9b4f2ef4af5d

See more details on using hashes here.

File details

Details for the file MorphIO-3.3.6-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: MorphIO-3.3.6-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 574.8 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for MorphIO-3.3.6-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 bff1a93bbacb88dbf5e558e2d8c95da714632c49137b3b64046bb26451a48c44
MD5 b817fb7fce2ad749323736f7aaec2cec
BLAKE2b-256 bce2529d3bfc62491e6b00e49bbd952b6256f10c073fb452200d917ebaabae97

See more details on using hashes here.

File details

Details for the file MorphIO-3.3.6-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for MorphIO-3.3.6-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2c884274ecf7ad7c260c5463bc39bda6d9ccaf9db3237d4d855820e49efc7277
MD5 631048606e67478295f8cc6596bb0bdf
BLAKE2b-256 a0e784ad4993e5c539a749e8de705dc4ec0710caf202ebb6c619520d65ee7c01

See more details on using hashes here.

File details

Details for the file MorphIO-3.3.6-cp37-cp37m-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for MorphIO-3.3.6-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 0871f97ddd5ba7202a86ca8fbb2d88e1e18c5a02c8af2c36266acaab3bfe79f6
MD5 06d89b3691c461d9a95bf73a745a6bf5
BLAKE2b-256 bbd223d7cf672148628c74a54453c596fddf2ba0dab867958af06088784b3577

See more details on using hashes here.

Supported by

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