Skip to main content

Access a multitude of neuroimaging data formats

Project description

NiBabel logo

Code

PyPI - Python Version code style: blue imports: isort pre-commit

Tests

stable tests codecov badge

PyPI

PyPI version PyPI - Downloads

Packages

Conda package Debian Unstable package Arch (AUR) Gentoo (::science) nixpkgs unstable

License & DOI

License Zenodo DOI

Read and write access to common neuroimaging file formats, including: ANALYZE (plain, SPM99, SPM2 and later), GIFTI, NIfTI1, NIfTI2, CIFTI-2, MINC1, MINC2, AFNI BRIK/HEAD, ECAT and Philips PAR/REC. In addition, NiBabel also supports FreeSurfer’s MGH, geometry, annotation and morphometry files, and provides some limited support for DICOM.

NiBabel’s API gives full or selective access to header information (metadata), and image data is made available via NumPy arrays. For more information, see NiBabel’s documentation site and API reference.

Installation

To install NiBabel’s current release with pip, run:

pip install nibabel

To install the latest development version, run:

pip install git+https://github.com/nipy/nibabel

When working on NiBabel itself, it may be useful to install in “editable” mode:

git clone https://github.com/nipy/nibabel.git
pip install -e ./nibabel

For more information on previous releases, see the release archive or development changelog.

Testing

During development, we recommend using tox to run nibabel tests:

git clone https://github.com/nipy/nibabel.git
cd nibabel
tox

To test an installed version of nibabel, install the test dependencies and run pytest:

pip install nibabel[test]
pytest --pyargs nibabel

For more information, consult the developer guidelines.

Mailing List

Please send any questions or suggestions to the neuroimaging mailing list.

License

NiBabel is licensed under the terms of the MIT license. Some code included with NiBabel is licensed under the BSD license. For more information, please see the COPYING file.

Citation

NiBabel releases have a Zenodo Digital Object Identifier (DOI) badge at the top of the release notes. Click on the badge for more information.

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

nibabel-5.3.3.tar.gz (4.5 MB view details)

Uploaded Source

Built Distribution

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

nibabel-5.3.3-py3-none-any.whl (3.3 MB view details)

Uploaded Python 3

File details

Details for the file nibabel-5.3.3.tar.gz.

File metadata

  • Download URL: nibabel-5.3.3.tar.gz
  • Upload date:
  • Size: 4.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Bluefin","version":"43","id":"Deinonychus","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for nibabel-5.3.3.tar.gz
Algorithm Hash digest
SHA256 8d2006b70d727fd0a798a88ae5fd64339741f436fcfc83d6ea3256cdbc51c5b7
MD5 1e117b44fc0ec5380977ca49bcbee7db
BLAKE2b-256 b18b98e35cd0f2a97c8c261cedf8cc155766a3c540cb248d449582bb9e99c719

See more details on using hashes here.

File details

Details for the file nibabel-5.3.3-py3-none-any.whl.

File metadata

  • Download URL: nibabel-5.3.3-py3-none-any.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Bluefin","version":"43","id":"Deinonychus","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for nibabel-5.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e8b17423ee8464da3b69e6a15799eb19f2350a7d38377026d527b6b84938adac
MD5 951ef8bfc53320b514f724770ffe6d91
BLAKE2b-256 b8f57f6aa3bbff013c0bf993129cbb2b1505790091f812accbe85cf001514737

See more details on using hashes here.

Supported by

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