NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI
PyPI, #3222 most downloaded on PyPI
Access a multitude of neuroimaging data formats
Latest stable
5.5.0
Last release 13 days ago
09 Nov 2026
Release timing varies
gaps range from 8 days to 1.1 years
Nearly every release is documented
notes for 46 of 46 stable releases
Nothing withdrawn
no release was ever pulled
16 years old
49 releases · first in 2010
Drag across the ruler to compare, or tap a release to open it.
Fix rendering of docstrings of deprecated functions/classes (#1545) (CM, reviewed by Mathias Goncalves)
New feature release in the 5.5.x series.
This release requires a minimum Python of 3.11 and NumPy 2.0, and has been tested up to Python 3.15 and NumPy 2.5.
float64 arrays. (#1592) (Bhaskar Gurram, reviewed by CM)*Axis classes now accept any Integral indices, allowing them to be indexed by NumPy integers (#1581) (Don Yin, reviewed by CM)cache_build=True (#1583) (Jeffrey Cooney, reviewed by CM)patient_birth_date field (int32) (#1522) (Cedric Conday, reviewed by CM)indexed-gzip version to 1.9.1 (#1554) (CM).zenodo.json to CITATION.cff (#1494) (CM, at least discussed with Rémi Gau)__package__ constant (#1487) (Dimitri Papadopoulos, reviewed by CM)Full Changelog: https://github.com/nipy/nibabel/compare/5.4.2...5.5.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
New feature release in the 5.5.x series.
This release requires a minimum Python of 3.11 and NumPy 2.0, and has been tested up to Python 3.15 and NumPy 2.5.
The ~nibabel.nicom.dicomwrappers.FilterMultiOrient frame filter allows extracting a volume of consistent orientation from a DICOM containing mixed orienations (pr/1485) (Michael Krause, reviewed by Basile Pinsard and CM)
~nibabel.dataobj_images.DataobjImage.get_fdata now returns ~numpy.complex128 arrays by default for complex images. Note that passing ~numpy.float64 explicitly still results in float64 arrays. (pr/1592) (Bhaskar Gurram, reviewed by CM)
Cifti2 *Axis classes now accept any ~numbers.Integral indices, allowing them to be indexed by NumPy integers (pr/1581) (Don Yin, reviewed by CM)
Update ~nibabel.nifti1.Nifti1Image.as_reoriented() to reorient sform and qform independently and preserve (q/s)form codes (pr/1546) (Cedric Conday, reviewed by CM)
Validate SpatialHeader zooms are positive in spatial dimensions, non-negative in other dimensions (Siddhardha Nanda, reviewed by CM) (pr/1596)
Improved errors for malformed PAR/REC headers (pr/1573, pr/1574) (Erfan Mohamadboland, reviewed by CM)
Support for empty ~nibabel.cifti2.cifti2_axes.BrainModelAxis (pr/1555) (Nathan Suttie, reviewed by CM)
Support for rescaling N-to-N affines in ~nibabel.affines.rescale_affine (pr/1553) (Siddhardha Nanda, reviewed by CM)
Improved documentation of ~nibabel.cifti2.cifti2_axes.BrainModelAxis.iter_structures (pr/1550) (Nagizaaz Shaik, reviewed by CM)
Documentation has been modernized with a new theme and improved navigation (pr/1484) (Leonardo Ayala, reviewed by CM)
Preserve array shape for single-vertex labels in ~nibabel.freesurfer.io.read_label (pr/1582) (Jeffrey Cooney, reviewed by CM)
Validate common shapes when calling ~nibabel.streamlines.array_sequence.ArraySequence.append with cache_build=True (pr/1583) (Jeffrey Cooney, reviewed by CM)
Fix slicing of ~nibabel.cifti2.cifti2_axes.SeriesAxis to match slicing its underlying NumPy array (pr/1580) (Don Yin, reviewed by CM)
Avoid overflow when passing integer affines to ~nibabel.affines.voxel_sizes (pr/1586) (Gabriel Lafis, reviewed by CM)
Fix handling of negative slices and steps in ~nibabel.spatialimages.SpatialImage.slicer (pr/1534) (Duy Dong Nguyen, reviewed by Arthur031221 and CM)
Handle data arrays with complex infinities correctly during write (pr/1588) (Gabriel Lafis, reviewed by CM)
Calculate orientation from float64-cast affine to avoid SVD issues on 32-bit systems (pr/1601) (CM, reviewed by Andreas Tille)
Reject undersized NIfTI extensions before reading payloads (pr/1568) (Jeffrey Cooney, reviewed by CM)
Validate affine shape in ~nibabel.nifti1.Nifti1Header.set_sform, matching ~nibabel.nifti1.Nifti1Header.set_qform (pr/1562) (Siddhardha Nanda, reviewed by CM)
Fix docstrings that mismatched function signatures (pr/1552) (Venish Paneliya, reviewed by CM)
Fix rendering of docstrings of deprecated functions/classes (pr/1545) (CM, reviewed by Mathias Goncalves)
Correct dtype of ECAT patient_birth_date field (int32) (pr/1522) (Cedric Conday, reviewed by CM)
Set the gzip compression level to the default for the current Python version, which changed from 9 to 6 in Python 3.15 (pr/1509) (Karolina Surma, reviewed by CM)
Outdated references to Travis CI were removed from our developer docs (pr/1506) (Dimitri Papadopoulos, reviewed by CM)
Typos in documentation (pr/1499) (Dimitri Papadopoulos, reviewed by CM) and (pr/1500) (Kabilar Gunalan, reviewied by CM)
Additional pre-commit hooks and linting rules (pr/1598, pr/1599, pr/1600, pr/1602, pr/1603, pr/1604, pr/1605, pr/1607, pr/1609) (Dimitri Papadopoulos, reviewed by CM)
Set minimum tested indexed-gzip version to 1.9.1 (pr/1554) (CM)
Testing on ARM64 Linux runners (pr/1496) (Leonardo Ayala, reviewed by CM)
Transitioned from .zenodo.json to CITATION.cff (pr/1494) (CM, at least discussed with Rémi Gau)
Remove deprecated use of __package__ constant (pr/1487) (Dimitri Papadopoulos, reviewed by CM)
Publish docs automatically on tags or triggers (pr/1482) (CM)
Mark thread-unsafe tests as such, and run a weekly multithreaded test job (pr/1455) (Rémi Gau, reviewed by CM)
Drop support for Python 3.10, Numpy < 2.0 (pr/1570) (CM)
Bug-fix release in the 5.4.x series.
Bug-fix release in the 5.4.x series.
This release fixes an issue with automated deployment to PyPI.
Adapt to numpy 2.5 deprecation of setting shape attributes (#1452) (CM)
New feature release in the 5.4.x series.
This release requires a minimum Python of 3.10 and NumPy 1.25, and has been tested up to Python 3.14 and NumPy 2.4.
backports.zstd in preference to pyzstd (#1444) (PM, reviewed by CM)ushort datatypes in MGH/MGZ files (#1415) (Benjamin Thyreau, reviewed by CM)Full Changelog: https://github.com/nipy/nibabel/compare/5.3.3...5.4.0
Bug-fix release in the 5.3.x series.
[](https://doi.org/10.5281/zenodo.17833605)
## Release notes
Bug-fix release in the 5.3.x series.
## Bug fixes * Fix frame order for single-frame DICOM files (pr/1387) (Brendan Moloney, reviewed by CM) * Replace dict literal with set in test. (pr/1382) (CM)
Full Changelog: https://github.com/nipy/nibabel/compare/5.3.2...5.3.3
Bug-fix release in the 5.3.x series.
Bug-fix release in the 5.3.x series.
Numpy 2.0 compatibility and addressing deprecations in numpy API (#1304, #1330, #1331, #1334, #1337) (Jon Haitz Legarreta Gorroño, CM)
This release primarily adds support for Python 3.13 and Numpy 2.0.
NiBabel 6.0 will drop support for Numpy 1.x.
.content : bytes, .text : str and .json : dict properties for accessing extension contents. Exceptions will be raised on .text and .json if conversion fails. (#1336) (CM)nib-nifti-dx now supports NIfTI-2 files with a --nifti2 flag (#1323) (CM)UserWarning on np.finfo(np.longdouble). This can occur on Windows systems, but it's done in the context of checking for the problem that is being warned against, so there's no need to be noisy. (#1310) (Joshua Newton, reviewed by CM)image_position and the translation component in the affine could be incorrect (#1340) (Brendan Moloney, reviewed by CM)setup() and teardown() functions with pytest equivalents (#1325) (Sandro from the Fedora Project, reviewed by Étienne Mollier and CM)nisext (setuptools extensions) package. (#1290) (CM, reviewed by MB)Full Changelog: https://github.com/nipy/nibabel/compare/5.2.1...5.3.0
Bug-fix release in the 5.2.x series.
Bug-fix release in the 5.2.x series.
git when reporting version info (#1286) (CM, reviewed by Yuri Victorovich)Full Changelog: https://github.com/nipy/nibabel/compare/5.2.0...5.2.1
Remove uses of deprecated numpy.compat.py3k module (#1243) (Eric Larson, reviewed by CM)
New feature release in the 5.2.x series.
This release requires a minimum Python of 3.8 and NumPy 1.20, and has been tested up to Python 3.12 and NumPy 1.26.
~/...) in strings passed to functions that accept paths (#1260) (Reinder Vos de Wael, reviewed by CM)affine=None argument (#1253) (Blake Dewey, reviewed by CM)numpy.compat.py3k module (#1243) (Eric Larson, reviewed by CM)Full Changelog: https://github.com/nipy/nibabel/compare/5.1.0...5.2.0
New feature release in the 5.2.x series.
This release requires a minimum Python of 3.8 and NumPy 1.20, and has been tested up to Python 3.12 and NumPy 1.26.
Add generic ~nibabel.pointset.Pointset and regularly spaced ~nibabel.pointset.Grid data structures in preparation for coordinate transformation and resampling (pr/1251) (CM, reviewed by Oscar Esteban)
Add ~nibabel.arrayproxy.ArrayProxy.copy method to ~nibabel.arrayproxy.ArrayProxy (pr/1255) (CM, reviewed by Paul McCarthy)
Permit ~nibabel.xmlutils.XmlSerializable.to_xml methods to pass keyword arguments to xml.etree.ElementTree.tostring (pr/1258) (CM)
Allow user expansion (e.g., ~/...) in strings passed to functions that accept paths (pr/1260) (Reinder Vos de Wael, reviewed by CM)
Expand CIFTI-2 brain structures to permit synonyms (pr/1256) (CM, reviewed by Mathias Goncalves)
Annotate ~nibabel.spatialimages.SpatialImage as accepting affine=None argument (pr/1253) (Blake Dewey, reviewed by CM)
Warn on invalid MINC2 spacing declarations, treat as missing (pr/1237) (Peter Suter, reviewed by CM)
Refactor ~nibabel.nicom.utils.find_private_section for improved readability and maintainability (pr/1228) (MB, reviewed by CM)
Resolve test failure related to randomly generated invalid case (pr/1221) (CM)
Remove references to NiPy data packages from documentation (pr/1275) (Dimitri Papadopoulos, reviewed by CM, MB)
Quality of life improvements for CI, including color output and OIDC publishing (pr/1282) (CM)
Patch for NumPy 2.0 pre-release compatibility (pr/1250) (Mathieu Scheltienne and EL, reviewed by CM)
Add spellchecking to tox, CI and pre-commit (pr/1266) (CM)
Add py312-dev-x64 environment to Tox to test NumPy 2.0 pre-release compatibility (pr/1267) (CM, reviewed by EL)
Resurrect tox configuration to cover development workflows and CI checks (pr/1262) (CM)
Updates for Python 3.12 support (pr/1247, pr/1261, pr/1273) (CM)
Remove uses of deprecated numpy.compat.py3k module (pr/1243) (Eric Larson, reviewed by CM)
Various fixes for typos and style issues detected by Codespell, pyupgrade and refurb (pr/1263, pr/1269, pr/1270, pr/1271, pr/1276) (Dimitri Papadopoulos, reviewed by CM)
Use stable argsorts in PARREC tests to ensure consistent behavior on systems with AVX512 SIMD instructions and numpy 1.25 (pr/1234) (CM)
Resolve CodeCov submission failures (pr/1224) (CM)
Link to logo with full URL to avoid broken links in PyPI (pr/1218) (CM, reviewed by Zvi Baratz)
The nibabel.pydicom_compat module is deprecated and will be removed in NiBabel 7.0. (pr/1280)
The ~nibabel.casting.int_to_float and ~nibabel.casting.as_int functions are no longer needed to work around NumPy deficiencies and have been deprecated (pr/1272) (CM, reviewed by EL)
Type annotations for nibabel.loadsave (pr/1213) and nibabel.spatialimages.SpatialImage APIs (pr/1179), nibabel.deprecated, nibabel.deprecator, nibabel…
New feature release in the 5.1.x series.
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, Stephan Gerhard and Ross Markello (RM).
References like "pr/298" refer to github pull request numbers.
imagestats available with import nibabel (pr/1208) (Fabian Perez, reviewed by CM)nibabel.loadsave (pr/1213) and nibabel.spatialimages.SpatialImage APIs (pr/1179), nibabel.deprecated, nibabel.deprecator, nibabel.onetime and nibabel.optpkg modules (pr/1188), nibabel.volumeutils (pr/1189), nibabel.filename_parser and nibabel.openers (pr/1197) (CM, reviewed by Zvi Baratz)nibabel._compression module, resolving unexpected errors from pyzstd. (pr/1212) (CM)_version.pyi stub to allow mypy to run without building nibabel (pr/1210) (CM)Full Changelog: https://github.com/nipy/nibabel/compare/5.0.1...5.1.0
Bug-fix release in the 5.0.x series.
Bug-fix release in the 5.0.x series.
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, Stephan Gerhard and Ross Markello (RM).
References like "pr/298" refer to github pull request numbers.
ParcelsAxis (pr/1194) (Michiel Cottaar, reviewed by CM)InTemporaryDirectory (pr/1184) (CM)py.typed to module root to enable use of types in downstream projects (pr/1196) (CM, reviewed by Fernando Pérez-Garcia)Bug-fix release in the 5.0.x series.
Support ragged voxel arrays in ~nibabel.cifti2.cifti2_axes.ParcelsAxis (pr/1194) (Michiel Cottaar, reviewed by CM)
Return to cwd on exception in ~nibabel.tmpdirs.InTemporaryDirectory (pr/1184) (CM)
Add py.typed to module root to enable use of types in downstream projects (CM, reviewed by Fernando Pérez-Garcia)
Cache git-archive separately from Python packages in GitHub Actions (pr/1186) (CM, reviewed by Zvi Baratz)
Code support for tests covering deprecated functionality (pr/1159) (CM)
New feature release in the 5.0.x series.
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, Stephan Gerhard and Ross Markello (RM).
SerializableImage now has to_stream() and from_stream() methods to read/write streams implementing the io.IOBase interface. A from_url() method enables loading images from URLs. (pr/1129) (CM, reviewed by MB)TrkFile supports TRKv3, an undocumented but generally compatible variant of TRKv2. (pr/1125) (CM)TCKFile (pr/1175) (CM, reviewed by Matt Cieslak)ArrayProxy (pr/1131) (CM, reviewed by MB)setup.cfg to pyproject.toml package configuration (pr/1133) (CM, reviewed by MB)Passing an int64 array to Nifti1Image without a header or dtype argument will raise a ValueError. (pr/1173) (CM)
tmpdirs.TemporaryDirectory is deprecated in favor of tempfile.TemporaryDirectory. (pr/1172) (CM, reviewed by Zvi Baratz)
The nisext package is deprecated and will be removed in NiBabel 6.0. (pr/1170) (CM, reviewed by MB)
Drop support for Python 3.7, Numpy < 1.19 (pr/1177) (CM)
The following deprecated functions and methods will now raise ExpiredDeprecationErrors
nibabel.loadsave.read_img_datanibabel.dataobj_images.DataobjImage.get_datanibabel.loadsave.guessed_image_typenibabel.onetime.setattr_on_readnibabel.orientations.flip_axisModules, classes and functions that expired at 4.0 were fully removed. ExpiredDeprecationError\s will now be AttributeError\s.
Make GiftiMetaData.data a list proxy, deprecate (pr/1127) (CM, reviewed by Hao-Ting Wang)
Bug-fix release in the 4.0.x series.
Make GiftiMetaData.data a list proxy, deprecate (pr/1127) (CM, reviewed by Hao-Ting Wang)
Finalize deprecation of ArrayWriter.to_fileobj(nan2zero=...) argument (pr/1126) (CM)
Finalize 4.0 deprecations, converting tests expecting DeprecationWarning to expected ExpiredDeprecationError (pr/1117) (CM)
Bug-fix release in the 4.0.x series.
Finalize 4.0 deprecations, converting tests expecting DeprecationWarning to expected ExpiredDeprecationError (pr/1117) (CM)
Suppress new numpy warning on nan-to-int cast (pr/1118) (CM, reviewed by MB)
Drop uses of deprecated distutils (pr/1073) (CM, reviewed by MB)
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, Stephan Gerhard and Ross Markello (RM).
References like "pr/298" refer to github pull request numbers.
New feature release in the 4.0.x series.
'mask', 'compat' and 'smallest' dtype aliases to NIfTI images
to allow for dtype specifications that can depend on the contents of the data.
'mask' is a synonym for uint8. 'compat' will find the nearest
Analyze-compatible (therefore widely supported) dtype that will not truncate
the data. 'smallest' attempts to find the smallest integer dtype that will
contain the data. (pr/1096) (CM, reviewed by Chris Rorden and Josh Teves)dtype arguments to Cifti2Image (pr/1111) (CM)__init__() and
to_filename() to provide better control over output images. (pr/1082)
(CM, following discussions with Chris Rorden, Josh Teves, Jerome Dockes, and MB)ExternalFileBinary GIFTI data arrays (PM, reviewed by CM)InTemporaryDirectory as non-thread-safe (pr/1103) (Jacob Roberts,
reviewed by MB)__repr__ methods to GIFTI objects (pr/1092) (CM,
reviewed by Josh Teves and Hao-Ting Wang)distutils (pr/1073) (CM, reviewed by MB)(u)int64 arrays to Nifti1Image and subclasses will warn unless
a header or dtype option is passed; in the future this will become an
error.
Additionally, passing int or 'int' to set_data_dtype() now raises
an error, requiring an explicit numpy dtype to make 64-bit integer images.
(pr/1082) (CM, following discussions with Chris Rorden, Josh Teves, Jerome Dockes,
and MB)nibabel.trackvisnibabel.volumeutils.calculate_scalenibabel.volumeutils.can_castnibabel.volumeutils.scale_min_maxnibabel.dataobj_images.DataobjImage.get_shapenibabel.minc1.MincImage (use Minc1Image)nibabel.minc1.MincFile (use Minc1File)nibabel.filebasedimages.FileBasedImage.from_filesnibabel.filebasedimages.FileBasedImage.filespec_to_filesnibabel.filebasedimages.FileBasedImage.to_filespecnibabel.filebasedimages.FileBasedImage.to_filesnibabel.arrayproxy.ArrayProxy.headerkeep_file_open=="auto" parameter to load method (now must be boolean)Drop uses of deprecated distutils (pr/1073) (CM, reviewed by MB)
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, Stephan Gerhard and Ross Markello (RM).
References like "pr/298" refer to github pull request numbers.
New feature release in the 4.0.x series.
'mask', 'compat' and 'smallest' dtype aliases to NIfTI images
to allow for dtype specifications that can depend on the contents of the data.
'mask' is a synonym for uint8. 'compat' will find the nearest
Analyze-compatible (therefore widely supported) dtype that will not truncate
the data. 'smallest' attempts to find the smallest integer dtype that will
contain the data. (pr/1096) (CM, reviewed by Chris Rorden and Josh Teves)dtype arguments to Cifti2Image (pr/1111) (CM)__init__() and
to_filename() to provide better control over output images. (pr/1082)
(CM, following discussions with Chris Rorden, Josh Teves, Jerome Dockes, and MB)ExternalFileBinary GIFTI data arrays (PM, reviewed by CM)InTemporaryDirectory as non-thread-safe (pr/1103) (Jacob Roberts,
reviewed by MB)__repr__ methods to GIFTI objects (pr/1092) (CM,
reviewed by Josh Teves and Hao-Ting Wang)distutils (pr/1073) (CM, reviewed by MB)(u)int64 arrays to Nifti1Image and subclasses will warn unless
a header or dtype option is passed; in the future this will become an
error.
Additionally, passing int or 'int' to set_data_dtype() now raises
an error, requiring an explicit numpy dtype to make 64-bit integer images.
(pr/1082) (CM, following discussions with Chris Rorden, Josh Teves, Jerome Dockes,
and MB)nibabel.trackvisnibabel.volumeutils.calculate_scalenibabel.volumeutils.can_castnibabel.volumeutils.scale_min_maxnibabel.dataobj_images.DataobjImage.get_shapenibabel.minc1.MincImage (use Minc1Image)nibabel.minc1.MincFile (use Minc1File)nibabel.filebasedimages.FileBasedImage.from_filesnibabel.filebasedimages.FileBasedImage.filespec_to_filesnibabel.filebasedimages.FileBasedImage.to_filespecnibabel.filebasedimages.FileBasedImage.to_filesnibabel.arrayproxy.ArrayProxy.headerkeep_file_open=="auto" parameter to load method (now must be boolean)Suggest nibabel.save() on calls to deprecated giftiio.write() (pr/1055) (Anibal Solon, reviewed by CM)
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, Stephan Gerhard and Ross Markello (RM).
References like "pr/298" refer to github pull request numbers.
Bug fix release in the 3.2.x series.
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), P
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, Stephan Gerhard and Ross Markello (RM).
References like "pr/298" refer to github pull request numbers.
Bug fix release in the 3.2.x series.
np.float (pr/964) (EL, reviewed by CM)Warn on use of onetime.setattr_on_read, which has been a deprecated alias of auto_attr (pr/948) (CM, reviewed by Ariel Rokem)
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, Stephan Gerhard and Ross Markello (RM).
References like "pr/298" refer to github pull request numbers.
New feature release in the 3.2.x series.
nib-stats CLI tool to expose new nibabel.imagestats API. Initial implementation of volume calculations, a la fslstats -V. (pr/952) (Julian Klug, reviewed by CM and GitHub user 0rC0)nib-roi CLI tool to crop images and/or flip axes (pr/947) (CM, reviewed by Chris Cheng and Mathias Goncalves)img.to_filename() in getting started guide (pr/946) (Fernando Pérez-Garcia, reviewed by MB, CM)to_bytes()/from_bytes() methods for Cifti2Image (pr/938) (CM, reviewed by Mathias Goncalves)OrthoSlicer3D (pr/958) (EL, reviewed by CM)onetime.setattr_on_read, which has been a deprecated alias of auto_attr (pr/948) (CM, reviewed by Ariel Rokem)Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), P
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, Stephan Gerhard and Ross Markello (RM).
References like "pr/298" refer to github pull request numbers.
Bug-fix release in the 3.1.x series.
These are small compatibility fixes that support ARM64 architecture and indexed_gzip>=1.3.0.
IndexedGzipFile as compressed file type (pr/925) (PM, reviewed by CM)nan when testing array_to_file, fixing ARM64 builds (pr/862) (CM, reviewed by MB)kw_only_meth/kw_only_func decorators are deprecated (pr/848) (RM, reviewed by CM)
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, Stephan Gerhard and Ross Markello (RM).
References like "pr/298" refer to github pull request numbers.
New feature release in the 3.1.x series.
processing.conform) and CLI tool (nib-conform) to apply shape, orientation and zooms (pr/853) (Jakub Kaczmarzyk, reviewed by CM, YOH)affines.rescale_affine) to update dimensions and voxel sizes (pr/853) (CM, reviewed by Jakub Kaczmarzyk)kw_only_meth/kw_only_func decorators are deprecated (pr/848) (RM, reviewed by CM)Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), P
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, and Stephan Gerhard.
References like "pr/298" refer to github pull request numbers.
pyproject.toml for now. (issue/859) (CM)Validate ExpiredDeprecationErrors, promoted by 3.0 release from DeprecationWarnings. (pr/857) (CM)
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, and Stephan Gerhard.
References like "pr/298" refer to github pull request numbers.
ExpiredDeprecationErrors, promoted by 3.0 release from DeprecationWarnings. (pr/857) (CM)Re-import externals/netcdf.py from scipy to resolve numpy deprecation (pr/821) (CM)
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, and Stephan Gerhard.
References like "pr/298" refer to github pull request numbers.
__array__() now accepts a dtype parameter, allowing numpy.array(dataobj, dtype=...) calls, as well as casting directly with a dtype (for example, numpy.float32(dataobj)) to control the output type. Scale factors (slope, intercept) are applied, but may be cast to narrower types, to control memory usage. This is now the basis of img.get_fdata(), which will scale data in single precision if the output type is float32. (pr/844) (CM, reviewed by Alejandro de la Vega, Ross Markello)agg_data() to return usable data arrays (pr/793) (Hao-Ting Wang, reviewed by CM)os.PathLike objects in place of filenames (pr/610) (Cameron Riddell, reviewed by MB, CM)SpatialImage.slicer interface (pr/846) (CM)get_fdata(dtype=np.float32) will attempt to avoid casting data to np.float64 when scaling parameters would otherwise promote the data type unnecessarily. (pr/833) (CM, reviewed by Ross Markello)ArraySequence now supports a large set of Python operators to combine or update in-place. (pr/811) (MC, reviewed by Serge Koudoro, Philippe Poulin, CM, MB)Tractograms no longer apply_affine to the original Tractogram's streamlines. (pr/811) (MC, reviewed by Serge Koudoro, Philippe Poulin, CM, MB)checkwarns and minc modules. (pr/852) (CM)keep_file_open argument to file load operations and ArrayProxys no longer acccepts the value "auto", raising a ValueError. (pr/852) (CM)ArraySequence.data in favor of ArraySequence.get_data(), which will return a copy. ArraySequence.data now returns a read-only view. (pr/811) (MC, reviewed by Serge Koudoro, Philippe Poulin, CM, MB)DataobjImage.get_data() API, to be removed in nibabel 5.0 (pr/794, pr/809) (CM, reviewed by MB)Re-import externals/netcdf.py from scipy to resolve numpy deprecation (pr/821) (CM)
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, and Stephan Gerhard.
References like "pr/298" refer to github pull request numbers.
__array__() now accepts a dtype parameter, allowing numpy.array(dataobj, dtype=...) calls, as well as casting directly with a dtype (for example, numpy.float32(dataobj)) to control the output type. Scale factors (slope, intercept) are applied, but may be cast to narrower types, to control memory usage. This is now the basis of img.get_fdata(), which will scale data in single precision if the output type is float32. (pr/844) (CM, reviewed by Alejandro de la Vega, Ross Markello)agg_data() to return usable data arrays (pr/793) (Hao-Ting Wang, reviewed by CM)os.PathLike objects in place of filenames (pr/610) (Cameron Riddell, reviewed by MB, CM)SpatialImage.slicer interface (pr/846) (CM)get_fdata(dtype=np.float32) will attempt to avoid casting data to np.float64 when scaling parameters would otherwise promote the data type unnecessarily. (pr/833) (CM, reviewed by Ross Markello)ArraySequence now supports a large set of Python operators to combine or update in-place. (pr/811) (MC, reviewed by Serge Koudoro, Philippe Poulin, CM, MB)Tractograms no longer apply_affine to the original Tractogram's streamlines. (pr/811) (MC, reviewed by Serge Koudoro, Philippe Poulin, CM, MB)checkwarns and minc modules. (pr/852) (CM)keep_file_open argument to file load operations and ArrayProxys no longer acccepts the value "auto", raising a ValueError. (pr/852) (CM)ArraySequence.data in favor of ArraySequence.get_data(), which will return a copy. ArraySequence.data now returns a read-only view. (pr/811) (MC, reviewed by Serge Koudoro, Philippe Poulin, CM, MB)DataobjImage.get_data() API, to be removed in nibabel 5.0 (pr/794, pr/809) (CM, reviewed by MB)Re-import externals/netcdf.py from scipy to resolve numpy deprecation (pr/821) (CM)
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, and Stephan Gerhard.
References like "pr/298" refer to github pull request numbers.
Release candidate for NiBabel 3.0, initiating a minimum one-month testing window.
Downstream projects are requested to test against the release candidate by installing with pip install --pre nibabel.
get_scaled() scales data with a dtype of a specified precision, promoting as necessary to avoid overflow. This is to used in img.get_fdata() to control memory usage. (pr/833) (CM, reviewed by Ross Markello)agg_data() to return usable data arrays (pr/793) (Hao-Ting Wang, reviewed by CM)os.PathLike objects in place of filenames (pr/610) (Cameron Riddell, reviewed by MB, CM)get_fdata(dtype=np.float32) will attempt to avoid casting data to np.float64 when scaling parameters would otherwise promote the data type unnecessarily. (pr/833) (CM, reviewed by Ross Markello)ArraySequence now supports a large set of Python operators to combine or update in-place. (pr/811) (MC, reviewed by Serge Koudoro, Philippe Poulin, CM, MB)Tractograms no longer apply_affine to the original Tractogram's streamlines. (pr/811) (MC, reviewed by Serge Koudoro, Philippe Poulin, CM, MB)ArraySequence.data in favor of ArraySequence.get_data(), which will return a copy. ArraySequence.data now returns a read-only view. (pr/811) (MC, reviewed by Serge Koudoro, Philippe Poulin, CM, MB)DataobjImage.get_data() API, to be removed in nibabel 5.0 (pr/794, pr/809) (CM, reviewed by MB)Re-import externals/netcdf.py from scipy to resolve numpy deprecation (pr/821) (CM)
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, and Stephan Gerhard.
References like "pr/298" refer to github pull request numbers.
Bug-fix release in the 2.5.x series. This is an extended-support series, providing bug fixes for Python 2.7 and 3.4.
This and all future releases in the 2.5.x series will be incompatible with Python 3.9. The last compatible series of numpy and scipy are 1.16.x and 1.2.x, respectively.
If you are able to upgrade to Python 3, it is recommended to upgrade to NiBabel 3.
Deprecate nicom.dicomwrappers.Wrapper.get_affine() in favor of affine property; final removal in nibabel 4.0 (pr/796) (YOH, reviewed by CM)
Bug fix release for the 2.5.x series.
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, and Stephan Gerhard.
References like "pr/298" refer to github pull request numbers.
The 2.5.x series is the last with support for either Python 2 or Python 3.4. Extended support for this series 2.5 will last through December 2020.
nib-diff if values match (pr/799) (YOH, reviewed by CM)nicom.dicomwrappers.Wrapper.get_affine() in favor of affine property; final removal in nibabel 4.0 (pr/796) (YOH, reviewed by CM)Effect threatened warnings and set some deprecation timelines (#755) (CM)
New feature release in the 2.5.x series.
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, and Stephan Gerhard.
References like "pr/298" refer to github pull request numbers.
The 2.5.x series is the last with support for either Python 2 or Python 3.4. Extended support for this series 2.5 will last through December 2020.
Thanks for the test ECAT file and fix provided by Andrew Crabb.
nisext functions (#764) (CM, reviewed by YOH)nibabel.trackvis scheduled for removal in nibabel 4.0nibabel.minc and nibabel.MincImage will be removed in nibabel 3.0Pacify FutureWarning and DeprecationWarning from h5py, numpy (pr/760) (CM)
Bug fix release for the 2.4.x series.
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, and Stephan Gerhard.
References like "pr/298" refer to github pull request numbers.
Contributions from Egor Pafilov, Jath Palasubramaniam, Richard Nemec, and Dave Allured.
mmap, keep_file_open options when loading any
DataobjImage (pr/759) (CM, reviewed by PM)FutureWarning and DeprecationWarning from h5py, numpy
(pr/760) (CM)keep_file_open == 'auto' (pr/761) (CM, reviewed by PM)Import updates to reduce upstream deprecation warnings (#711, #705, #738) (EL, YOH, reviewed by CM)
New feature release for the 2.4.x series.
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, and Stephan Gerhard.
Axis-based interface for manipulating CIFTI-2 headers (#641) (Michiel Cottaar, reviewed by Demian Wassermann, CM, SG)NIFTI_XFORM_TEMPLATE_OTHER xform code (#743) (CM)nibabel.testing, nose and mock to speed up import (#699) (CM)Bug fix release for the 2.3 series.
Bug fix release for the 2.3 series.
Most work on NiBabel so far has been by Matthew Brett (MB), Michael Hanke (MH) Ben Cipollini (BC), Marc-Alexandre Côté (MC), Chris Markiewicz (CM), Stephan Gerhard (SG), Eric Larson (EL), Yaroslav Halchenko (YOH) and Chris Cheng (CC).
References like "pr/298" refer to github pull request numbers.
six dependency (pr/714) (CM, reviewed by Gael Varoquaux, MB)Remove deprecated calls to numpy.asscalar (pr/686) (CM, reviewed by Gregory R. Lee)
Bug fix release for the 2.3 series.
Most work on NiBabel so far has been by Matthew Brett (MB), Michael Hanke (MH) Ben Cipollini (BC), Marc-Alexandre Côté (MC), Chris Markiewicz (CM), Stephan Gerhard (SG), Eric Larson (EL), Yaroslav Halchenko (YOH) and Chris Cheng (CC).
References like "pr/298" refer to github pull request numbers.
Ctrl-x in OrthoSlicer3D viewer (pr/701)
(Miguel Estevan Moreno, reviewed by CM)numpy.issubdtype(..., np.bool_) (pr/707)
(Jon Haitz Legarreta Gorroño, reviewed by CM)numpy.asscalar (pr/686) (CM, reviewed by
Gregory R. Lee)https://doi.org (pr/703) (Katrin Leinweber,
reviewed by CM)numpy.fromstring (pr/700) (Ariel Rokem,
reviewed by CM, MB)distutils support, require bz2file for Python 2.7 (pr/700)
(CM, reviewed by MB)bytes hack, disabled in numpy pre-release, with
bytearray/readinto strategy (pr/700) (Ariel Rokem, CM, reviewed by
CM, MB)Opener.readinto method to read file contents into pre-allocated buffers
(pr/700) (Ariel Rokem, reviewed by CM, MB)Bug fix release for the 2.3 series.
Bug fix release for the 2.3 series.
Most work on NiBabel so far has been by Matthew Brett (MB), Michael Hanke (MH) Ben Cipollini (BC), Marc-Alexandre Côté (MC), Chris Markiewicz (CM), Stephan Gerhard (SG), Eric Larson (EL), Yaroslav Halchenko (YOH) and Chris Cheng (CC).
References like "pr/298" refer to github pull request numbers.
nib-diff command line tool for comparing image files (pr/617, pr/672,
pr/678) (CC, reviewed by YOH, Pradeep Raamana and CM)ndim property to ArrayProxy and DataobjImage (pr/674) (CM,
reviewed by MB)Remove deprecated numpy indexing (EL, reviewed by CM)
New feature release for the 2.3 series.
Most work on NiBabel so far has been by Matthew Brett (MB), Michael Hanke (MH) Ben Cipollini (BC), Marc-Alexandre Côté (MC), Chris Markiewicz (CM), Stephan Gerhard (SG) and Eric Larson (EL).
References like "pr/298" refer to github pull request numbers.
.nii (pr/621) (Dimitri
Papadopoulos-Orfanos, reviewed by Yaroslav Halchenko)IndexedGzipFile drop_handles flag to release
filehandles by default (pr/614) (Paul McCarthy, reviewed by CM, MB)LazyTractogram (pr/588) (MC, reviewed by Nil
Goyette, CM, MB)UnboundLocalError in Python 3 (pr/607) (Jakub Kaczmarzyk,
reviewed by MB, CM)ImportError failures in optional imports (pr/618)
(Yaroslav Halchenko, reviewed by CM)get_fdata for array image, if no cast
required (pr/638, MB, reviewed by CM)nib-ls and other programs to a new cmdline module (pr/601, pr/615)
(Chris Cheng, reviewed by MB, Yaroslav Halchenko)get_fdata over get_data (pr/637,
MB, reviewed by CM)keep_file_open = 'auto' as a parameter to Opener() will
be deprecated in 2.4, for removal in 3.0. Accordingly, support for
openers.KEEP_FILE_OPEN_DEFAULT = 'auto' will be dropped on the same
schedule.indexed_gzip < 0.7 has been removed.Bug fix release for the 2.2 series.
Bug fix release for the 2.2 series.
Most work on NiBabel so far has been by Matthew Brett (MB), Michael Hanke (MH) Ben Cipollini (BC), Marc-Alexandre Côté (MC), Chris Markiewicz (CM), Stephan Gerhard (SG) and Eric Larson (EL).
References like "pr/298" refer to github pull request numbers.
Set L/R labels in orthoview correctly (pr/564) (CM)
Defer use of ufunc / memmap test - allows "freezing" (pr/572) (MB, reviewed by SG)
Fix doctest failures with pre-release numpy (pr/582) (MB, reviewed by CM)
Update documentation around NIfTI qform/sform codes (pr/576) (PM, reviewed by MB, CM) + (pr/580) (Bennet Fauber, reviewed by PM)
Skip precision test on macOS, newer numpy (pr/583) (MB, reviewed by CM)
Simplify AppVeyor script, removing conda (pr/584) (MB, reviewed by CM)
Deprecation of header property of ArrayProxy object, for removal in 3.0
New feature release for the 2.2 series.
Most work on NiBabel so far has been by Matthew Brett (MB), Michael Hanke (MH) Ben Cipollini (BC), Marc-Alexandre Côté (MC), Chris Markiewicz (CM), Stephan Gerhard (SG) and Eric Larson (EL).
References like "pr/298" refer to github pull request numbers.
get_fdata() as default method to retrieve scaled floating point
data from DataobjImages (pr/551) (MB, reviewed by CM, Satra Ghosh)+/+= operators
(pr/495); function to concatenate multiple ArraySequence objects (pr/494)img.__getitem__ (pr/533) (Ariel Rokem)indexed_gzip to reduce memory usage when reading from
gzipped NIfTI and MGH files (pr/552) (Paul McCarthy, reviewed by MB, CM)wrapstruct.get (pr/516) (Paul McCarthy, reviewed by
CM, MB)header argument to ArrayProxy.__init__ is renamed to specheader property of ArrayProxy object, for removal in
3.0wrapstruct.get now returns entries evaluating False, instead of NoneDataobjImage.get_data to be deprecated April 2018, scheduled for removal
April 2020This adds a new module nibabel.streamlines that will eventually deprecate the current trackvis reader found in nibabel.trackvis (pr/391) (MC, reviewed…
New feature release for the 2.1 series.
Most work on NiBabel so far has been by Matthew Brett (MB), Michael Hanke (MH) Ben Cipollini (BC), Marc-Alexandre Côté (MC), Chris Markiewicz (CM), Stephan Gerhard (SG) and Eric Larson (EL).
References like "pr/298" refer to github pull request numbers.
nibabel.streamlines that will eventually deprecate
the current trackvis reader found in nibabel.trackvis (pr/391) (MC,
reviewed by Jean-Christophe Houde, Bago Amirbekian, Eleftherios
Garyfallidis, Samuel St-Jean, MB);strict=False
argument to read function;nib-ls command to show image statistics (pr/437) and other
header files (pr/348) (Yarik Halchenko).parrec2nii (pr/478)
(Jasper J.F. van den Bosch, reviewed by Gregory R. Lee, MB).DataError if there are too few streamlines in the file,
instead of a HeaderError. We are raising a DataError if the track
is truncated when strict=True (the default), rather than a TypeError
when trying to create the points array.parrec2nii script writes to NIfTI images; change
from 2 ("aligned") to 1 ("scanner");get_header, get_affine method of image objects for
removal in version 4.0;from_filespec method from image objects, and deprecated
from_filespec method of ECAT image objects for removal in 4.0;class_map instance in imageclasses module in favor of
new image class attributes, for removal in 4.0;ext_map instance in imageclasses module in favor of
new image loading API, for removal in 4.0;Header class in favor of SpatialHeader, for removal
in 4.0;BinOpener class in favor of more generic Opener
class, for removal in 4.0;GiftiMetadata methods get_metadata and get_rgba;
GiftiDataArray methods get_metadata, get_labeltable,
set_labeltable; GiftiImage methods get_meta, set_meta. All
these deprecated in favor of corresponding properties, for removal in 4.0;giftiio read and write functions in favor of
nibabel load and save functions, for removal in 4.0;gifti.data_tag function, for removal in 4.0;GiftiDataArray.num_dim, and new error
when trying to set invalid values for num_dim. We will remove
write-access in 4.0;GiftiDataArray.from_array in favor of GiftiDataArray
constructor, for removal in 4.0;GiftiDataArray to_xml_open, to_xml_close methods in
favor of to_xml method, for removal in 4.0;parse_gifti_fast.Outputter class in favor of
GiftiImageParser, for removal in 4.0;parse_gifti_fast.parse_gifti_file function in favor of
GiftiImageParser.parse method, for removal in 4.0;loadsave functions guessed_image_type and
which_analyze_type, in favor of new API where each image class tests the
file for compatibility during load, for removal in 4.0;Fix for integer overflow on large images (pr/325) (MB);
Contributions from Ben Cipollini, Chris Markiewicz, Alexandre Gramfort, Clemens Bauer, github user freec84.
Contributions from Ben Cipollini, Chris Markiewicz, Alexandre Gramfort, Clemens Bauer, github user freec84.
axis parameter to concat_images (pr/298) (Ben Cipollini);A new API for reading unscaled data from NIfTI and other images, using img.dataobj.get_unscaled(). Deprecate previous way of doing this, which was to…
This release had large contributions from Eric Larson, Brendan Moloney, Nolan Nichols, Basile Pinsard, Chris Johnson and Nikolaas N. Oosterhof.
offset
property of the image dataobj attribute;slope and inter properties of the image
dataobj attribute. You can set scaling explicitly by setting the
slope and intercept values in the header to values other than NaN;in_memory property
that is true if the image data has been loaded into cache, or is already
an array in memory; get_data has new keyword argument caching to
specify whether the cache should be filled by get_data;dataobj, affine, header. We will
slowly phase out the get_affine and get_header image methods;dataobj can be sliced using an efficient algorithm to avoid
reading unnecessary data from disk. This makes it possible to do very
efficient reads of single volumes from a time series;parrec2nii script outputs images in LAS voxel orientation, which
appears to be necessary for compatibility with FSL dtifit /
fslview diffusion analysis pipeline;vox2ras_tkr affine (Eric Larson);img.dataobj.get_unscaled(). Deprecate previous way of doing this,
which was to read data with the read_img_data function;freesurfer.read_annot with orig_ids=False when annot
contains vertices with no label (Alexandre Gramfort);Special thanks to Chris Johnson, Brendan Moloney and JB Poline.
Special thanks to Chris Johnson, Brendan Moloney and JB Poline.
Fix longdouble tests for Debian PPC (thanks to Yaroslav Halchecko for finding and diagnosing these errors)
Particular thanks to Yaroslav Halchecko for fixes and cleanups in this release.
Particular thanks to Yaroslav Halchecko for fixes and cleanups in this release.
nib-nifti-dxdicomfs script to installation list and rename to
nib-dicomfsThis release had large contributions from Krish Subramaniam, Alexandre Gramfort, Cindee Madison, Félix C. Morency and Christian Haselgrove.
This release had large contributions from Krish Subramaniam, Alexandre Gramfort, Cindee Madison, Félix C. Morency and Christian Haselgrove.
concat_images by Yannick Schwartz.nib-ls script to display information about neuroimaging files, and
various other useful fixes by Yaroslav Halchenko.Refactoring of trackvis read / write to allow reading and writing of voxel points and mm points in tracks. Deprecate use of negative voxel sizes; set…
Special thanks to Chris Burns, Jarrod Millman and Yaroslav Halchenko.
Make inference of data type more robust to changes in numpy dtype hashing
Fix bugs in tests for data package paths
This is the first public release of the NiBabel package.
.mat files.parrec2nii script to convert PAR/REC images to NIfTI format (MH)nibabel.funcs) for basic image shape changes, including
the ability to transform to the image with data closest to the cononical
image orientation (first axis left-to-right, second back-to-front, third
down-to-up) (MB, Jonathan Taylor)One column per quarter.