Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Python package to access a cacophony of neuro-imaging file formats

License

NotificationsYou must be signed in to change notification settings

nipy/nibabel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NiBabel logo
CodePyPI - Python Versioncode style: blueimports: isortpre-commit
Testsstable testscodecov badge
PyPIPyPI versionPyPI - Downloads
PackagesConda packageDebian Unstable packageArch (AUR)Gentoo (::science)nixpkgs unstable
License & DOILicenseZenodo 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 supportsFreeSurfer'sMGH, geometry, annotation andmorphometry files, and provides some limited support forDICOM.

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

Installation

To install NiBabel'scurrent release withpip, 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.gitpip install -e ./nibabel

For more information on previous releases, see therelease archive ordevelopment changelog.

Testing

During development, we recommend usingtox to run nibabel tests:

git clone https://github.com/nipy/nibabel.gitcd nibabeltox

To test an installed version of nibabel, install the test dependenciesand runpytest:

pip install nibabel[test]pytest --pyargs nibabel

For more information, consult thedeveloper guidelines.

Mailing List

Please send any questions or suggestions to theneuroimaging mailing list.

License

NiBabel is licensed under the terms of theMIT license.Some code included with NiBabel is licensed under theBSD license.For more information, please see theCOPYING file.

Citation

NiBabel releases have aZenodoDigital Object Identifier (DOI) badge atthe top of the release notes. Click on the badge for more information.


[8]ページ先頭

©2009-2025 Movatter.jp