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 Apache License 2.0. See LICENSE.txt for further details.

Copyright (c) 2013-2024 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.8.tar.gz (601.1 kB view details)

Uploaded Source

Built Distributions

morphio-3.3.8-cp312-cp312-win_amd64.whl (595.3 kB view details)

Uploaded CPython 3.12 Windows x86-64

morphio-3.3.8-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.27+ x86-64 manylinux: glibc 2.28+ x86-64

morphio-3.3.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

morphio-3.3.8-cp312-cp312-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

morphio-3.3.8-cp312-cp312-macosx_10_9_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

morphio-3.3.8-cp311-cp311-win_amd64.whl (594.3 kB view details)

Uploaded CPython 3.11 Windows x86-64

morphio-3.3.8-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.27+ x86-64 manylinux: glibc 2.28+ x86-64

morphio-3.3.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

morphio-3.3.8-cp311-cp311-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

morphio-3.3.8-cp311-cp311-macosx_10_9_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

morphio-3.3.8-cp310-cp310-win_amd64.whl (593.5 kB view details)

Uploaded CPython 3.10 Windows x86-64

morphio-3.3.8-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.27+ x86-64 manylinux: glibc 2.28+ x86-64

morphio-3.3.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

morphio-3.3.8-cp310-cp310-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

morphio-3.3.8-cp310-cp310-macosx_10_9_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

morphio-3.3.8-cp39-cp39-win_amd64.whl (593.7 kB view details)

Uploaded CPython 3.9 Windows x86-64

morphio-3.3.8-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.27+ x86-64 manylinux: glibc 2.28+ x86-64

morphio-3.3.8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

morphio-3.3.8-cp39-cp39-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

morphio-3.3.8-cp39-cp39-macosx_10_9_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

morphio-3.3.8-cp38-cp38-win_amd64.whl (593.6 kB view details)

Uploaded CPython 3.8 Windows x86-64

morphio-3.3.8-cp38-cp38-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.27+ x86-64 manylinux: glibc 2.28+ x86-64

morphio-3.3.8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

morphio-3.3.8-cp38-cp38-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

morphio-3.3.8-cp38-cp38-macosx_10_9_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

Details for the file morphio-3.3.8.tar.gz.

File metadata

  • Download URL: morphio-3.3.8.tar.gz
  • Upload date:
  • Size: 601.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for morphio-3.3.8.tar.gz
Algorithm Hash digest
SHA256 9d70bb10bbfa6afbe79968bba51f65325257d76edd5d1d8261a01a18c429ac9b
MD5 5831324d826b55d4acf7179f0dbb4701
BLAKE2b-256 935cb36fa87aedc5139a3c9c22749051504b9741b746007e919e78ca553e7102

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: morphio-3.3.8-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 595.3 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for morphio-3.3.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d692927acf0ddb921d3f2b917f421fde80ade001387043a11f02567f39e2baa6
MD5 2b854af38e97368c3b1386e85b2465d4
BLAKE2b-256 b1852b409ec4585649e110b8e6126b7bc1badafa68961a1d44cc22035b81ba81

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for morphio-3.3.8-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 824cb8371782a6cd70a33a43eae9e4eea817ca2d710e95b739e5d8aeb4257a61
MD5 4118e0ed5414fe574ac4d7f2567f07ac
BLAKE2b-256 acddbd64107e92cfaaa4906bbe261f79c21ed631dbe1af7249175d70e72e2392

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for morphio-3.3.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 57a94a1d2af45fc62f133e091137e2cac9f3722cf69137e4339b0bab522ce2a4
MD5 3f66b9958ec61a8a129c01970880e94e
BLAKE2b-256 1528c8fb69256ba2c52bc7de7d69b2590a9b60cf7fb37063d9a81fcfd4971e74

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for morphio-3.3.8-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6b8e3a816dccfc67d5dbfd9a41a4e4616e3f9559a8bdcbfdc75de3164bcf6309
MD5 42aa40e59cc8d4ca8854eca36dea622c
BLAKE2b-256 85f575d289259674f6087311399180db04be08375048718c59a40bd5da9f1899

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for morphio-3.3.8-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 974f2da38e8e27d0241877e014ac2802f7553aeff66a5c597921fdac3388147d
MD5 8293ef49bdb10e8a339d17182f30a3fb
BLAKE2b-256 fbe5d338c071e3adeefe06e133878df8a04475f778d565351e3b94b20290ad1a

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: morphio-3.3.8-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 594.3 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for morphio-3.3.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d627775ad5082aee5df7e082b87667fa8e5c7d2eed4aa62cae55634e324edbaa
MD5 cdba2838b221c201952bc5602d40967a
BLAKE2b-256 e57a4905bd8d872bc6575fd42bd3cda47ec6c5fc1667e3d7f71dc25cb2da43a9

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for morphio-3.3.8-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f7d1ad2aa1909c861ce4c83b9426faefa3f2e4738d7d00dd78028ffbcf543a78
MD5 fcebf1be1ad81c8f799c7d6e3ed7af00
BLAKE2b-256 8f2d2ce24bccf6b98982f372d0818d8dd15341826907fe59265b2b2563500a9c

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for morphio-3.3.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2fad2de1582ed80a226c182291987e9d73a9812ba953b63034cf4e8bd7b9e82e
MD5 7d3147f867eabb046da35566133f7eba
BLAKE2b-256 8d5885afd34a0a44aec767d930754f600f33e4c3008832eab4d084c93a75b8a4

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for morphio-3.3.8-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8cb2d32b7ced31e88d689497b6f6f89885e2dd634d347d785341417fb15e260b
MD5 3c0598d0a90e3c5e2d8f1b2dc8c8187e
BLAKE2b-256 8e736c606dc0b673ca9f4e8d349c033a1c6951907dc2a53e7e739fa28f570ebc

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for morphio-3.3.8-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3946daafc73a8f40ba964341020c9231461be0f53a452f95ef83c1a5df04c0e6
MD5 9d720e26037f158881fde3d1dc4a7c0a
BLAKE2b-256 9febc08b55960b535b3e7c825f1f17f352b7bde50b8983748d630cac836e6f01

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: morphio-3.3.8-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 593.5 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for morphio-3.3.8-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 dbd510bc1a28ed12655cfcae2340bfe0169bceb79ca905b3a396d55f0cbec661
MD5 4dbd0b8ec78c50db086a390b402553d6
BLAKE2b-256 980b092409443f5c8b9e553129b0494465db02ec83f61b47f6354ffd41a84390

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for morphio-3.3.8-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6114d76f3316838c1817d771e5e172a55bca64839b32b168c0a684e6c9f0b2aa
MD5 23bc20fb9d92c35561b596e97dfb4697
BLAKE2b-256 a726acd4a3449b3a9e9c1280e069202e54dfbf640570d8559043ce7c76a0447b

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for morphio-3.3.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c13c38ddf798b3f0778e08577c308c8c58f90308fffcbc9e62b80d2de3603fbb
MD5 805c5e9365310e7c62a7fe44253384ef
BLAKE2b-256 f819886590685c296f8f79a928acb5ed4d31e6e048ba26d4d936280f9fbf8f23

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for morphio-3.3.8-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2c5fc9f8c29d0d38e518c65a602468e99f7afff3326be03054a7e8bbbbdd9216
MD5 3196f033478eb03d057d0e5b93df89b0
BLAKE2b-256 046b3d12a45d7ed29e48a7c4591dd7485c84504597b03666f5f0e3bfdd3d2b55

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for morphio-3.3.8-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6a351662f111f8077a202091b6a2cb6f725909bb38c760193f46ed3a1bd0b58d
MD5 bee92f719421802859698a33db009af1
BLAKE2b-256 adda93848de0232e774994540eb67488f60d4c0eba244d3242a15894cba9c074

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: morphio-3.3.8-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 593.7 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for morphio-3.3.8-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 ad4b65b37b92c0c40e1c40d3f31f90f0e07444dc75ae2a3be0d286d4e2676b26
MD5 5d25a1a0e5cae1aac5d2512e6fdd2165
BLAKE2b-256 42d285723aa08296e1980566e4a0dca56a821608a7b5fe480bedfd81da865883

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for morphio-3.3.8-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9ad3a9bf7528690987f176433b43848f0f5c01915324eb4d5151f1fc28b92016
MD5 5cbdd52ba3f9c6fe6a1b718b85ff1bff
BLAKE2b-256 ff485180a400a068ba447b5994bda98c43921e3f2ac0de110ed210e8c6918288

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for morphio-3.3.8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 724b5b71485570510e83e66eef35d4289e2c93eedfde684f6e9808f8641d4061
MD5 ed73dc31abbfb163d78ce22f3bf54b69
BLAKE2b-256 54714157d491eccdc9149ae6c06f830bff37e2d51305563a5e6c2d5614e81586

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for morphio-3.3.8-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7d0da017d9080a0f62a8986d1b08940f01db98e651435ccfa88249f95a63120b
MD5 06f0c1476f3a5a878865a7a5abad673c
BLAKE2b-256 1a1fac10d82db5f95db18c17af2a04aad3fd49ac93878e32b9891f0fec13953d

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for morphio-3.3.8-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5c6a9cd592c2f3a3836e3156098117287d239571bc2eb7490b3029f61c800de4
MD5 235b77bdcb0942d07fa0a6c6c10c77e5
BLAKE2b-256 8d2534bea50f92cde87d88e4b73f7188f4f0e1934aa4db614cf44dc04f1cd52c

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: morphio-3.3.8-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 593.6 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for morphio-3.3.8-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 c087435db87534bc550926a5231baf8e6364239159fc0ab41b03837a7276c873
MD5 caf76d88572b777de317675cedba4f6f
BLAKE2b-256 f2a48e2c3cc7474ce11d3c3faa76fd9d1dc3687797c51a28ca11d9e1667d8d4c

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp38-cp38-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for morphio-3.3.8-cp38-cp38-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ce9b509748565ebe81c6a3618cb97fee3992085d9910a53a1f5ba3b4d90765ef
MD5 0e8235d3842342334007ad3269d638c4
BLAKE2b-256 b9af7acbb3718d25c7ae8ec7250f2ab18d79e2bc99e1ab452990fb4518b64eae

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for morphio-3.3.8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 49c2dd52505626174fc42c2abfb3ebd65a239420d766a019f9161e82dc596cc2
MD5 2211355b377490e18f30cdc010275d43
BLAKE2b-256 b901d39f16ea9746db0a4e743986f901f9e6fd147b9987680e330bd764ef02d6

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for morphio-3.3.8-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3d870c50ad1d8eecd67f8d5af135305cfb6c3ae626679fa792b19edf72edd5eb
MD5 8adcaea92d844546f610619547185465
BLAKE2b-256 a2bc72610581c0539ad47f4723dbe619856ce2a99c198888e96f5fce9bdc0a23

See more details on using hashes here.

File details

Details for the file morphio-3.3.8-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for morphio-3.3.8-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fa733599c80dd6361429a5d0c2ac7d4ab6d898848989d4aec64f13e63183a82e
MD5 06fb7cd9305ac631aa6ed98c1e0b3a6b
BLAKE2b-256 b463fda094cd68d744f6175d831b866c0131ec4effef88b2bcedea5f2201e0b7

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