File: Changelog

package info (click to toggle)
nibabel 2.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 67,804 kB
  • sloc: python: 40,086; makefile: 273; ansic: 202; sh: 73
file content (850 lines) | stat: -rw-r--r-- 37,714 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
.. -*- mode: rst -*-
.. vim:ft=rst

.. _changelog:

#############################
NiBabel Development Changelog
#############################

NiBabel is the successor to the much-loved PyNifti package. Here we list the
releases for both packages.

The full VCS changelog is available here:

  http://github.com/nipy/nibabel/commits/master

****************
Nibabel releases
****************

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.

2.3.2 (Wedmesday 2 January 2019)
================================

Enhancements
------------
* Enable toggling crosshair with ``Ctrl-x`` in ``OrthoSlicer3D`` viewer (pr/701)
  (Miguel Estevan Moreno, reviewed by CM)

Bug fixes
---------
* Read .PAR files corresponding to ADC maps (pr/685) (Gregory R. Lee, reviewed
  by CM)
* Increase maximum number of items read from Siemens CSA format (Igor Solovey,
  reviewed by CM, MB)
* Check boolean dtypes with ``numpy.issubdtype(..., np.bool_)`` (pr/707)
  (Jon Haitz Legarreta Gorroño, reviewed by CM)

Maintenance
-----------
* Fix small typos in parrec2nii help text (pr/682) (Thomas Roos, reviewed by
  MB)
* Remove deprecated calls to ``numpy.asscalar`` (pr/686) (CM, reviewed by
  Gregory R. Lee)
* Update QA directives to accommodate Flake8 3.6 (pr/695) (CM)
* Update DOI links to use ``https://doi.org`` (pr/703) (Katrin Leinweber,
  reviewed by CM)
* Remove deprecated calls to ``numpy.fromstring`` (pr/700) (Ariel Rokem,
  reviewed by CM, MB)
* Drop ``distutils`` support, require ``bz2file`` for Python 2.7 (pr/700)
  (CM, reviewed by MB)
* Replace mutable ``bytes`` hack, disabled in numpy pre-release, with
  ``bytearray``/``readinto`` strategy (pr/700) (Ariel Rokem, CM, reviewed by
  CM, MB)

API changes and deprecations
----------------------------
* Add ``Opener.readinto`` method to read file contents into pre-allocated buffers
  (pr/700) (Ariel Rokem, reviewed by CM, MB)

2.3.1 (Tuesday 16 October 2018)
===============================

New features
------------
* ``nib-diff`` command line tool for comparing image files (pr/617, pr/672,
  pr/678) (CC, reviewed by YOH, Pradeep Raamana and CM)

Enhancements
------------
* Speed up reading of numeric arrays in CIFTI2 (pr/655) (Michiel Cottaar,
  reviewed by CM)
* Add ``ndim`` property to ``ArrayProxy`` and ``DataobjImage`` (pr/674) (CM,
  reviewed by MB)

Bug fixes
---------
* Deterministic deduction of slice ordering in degenerate cases (pr/647)
  (YOH, reviewed by CM)
* Allow 0ms TR in MGH files (pr/653) (EL, reviewed by CM)
* Allow for PPC64 little-endian long doubles (pr/658) (MB, reviewed by CM)
* Correct construction of FreeSurfer annotation labels (pr/666) (CM, reviewed
  by EL, Paul D. McCarthy)
* Fix logic for persisting filehandles with indexed-gzip (pr/679) (Paul D.
  McCarthy, reviewed by CM)

Maintenance
-----------
* Fix semantic error in coordinate systems documentation (pr/646) (Ariel
  Rokem, reviewed by CM, MB)
* Test on Python 3.7, minor associated fixes (pr/651) (CM, reviewed by Gregory
  R. Lee, MB)

2.3 (Tuesday 12 June 2018)
==========================

New features
------------
* TRK <=> TCK streamlines conversion CLI tools (pr/606) (MC, reviewed by CM)
* Image slicing for SpatialImages (pr/550) (CM)

Enhancements
------------
* Simplfiy MGHImage and add footer fields (pr/569) (CM, reviewed by MB)
* Force sform/qform codes to be ints, rather than numpy types (pr/575) (Paul
  McCarthy, reviewed by MB, CM)
* Auto-fill color table in FreeSurfer annotation file (pr/592) (Paul McCarthy,
  reviewed by CM, MB)
* Set default intent code for CIFTI2 images (pr/604) (Mathias Goncalves,
  reviewed by CM, Satra Ghosh, MB, Tim Coalson)
* Raise informative error on empty files (pr/611) (Pradeep Raamana, reviewed
  by CM, MB)
* Accept degenerate filenames such as ``.nii`` (pr/621) (Dimitri
  Papadopoulos-Orfanos, reviewed by Yaroslav Halchenko)
* Take advantage of ``IndexedGzipFile`` ``drop_handles`` flag to release
  filehandles by default (pr/614) (Paul McCarthy, reviewed by CM, MB)

Bug fixes
---------
* Preserve first point of `LazyTractogram` (pr/588) (MC, reviewed by Nil
  Goyette, CM, MB)
* Stop adding extraneous metadata padding (pr/593) (Jon Stutters, reviewed by
  CM, MB)
* Accept lower-case orientation codes in TRK files (pr/600) (Kesshi Jordan,
  MB, reviewed by MB, MC, CM)
* Annotation file reading (pr/592) (Paul McCarthy, reviewed by CM, MB)
* Fix buffer size calculation in ArraySequence (pr/597) (Serge Koudoro,
  reviewed by MC, MB, Eleftherios Garyfallidis, CM)
* Resolve ``UnboundLocalError`` in Python 3 (pr/607) (Jakub Kaczmarzyk,
  reviewed by MB, CM)
* Do not crash on non-``ImportError`` failures in optional imports (pr/618)
  (Yaroslav Halchenko, reviewed by CM)
* Return original array from ``get_fdata`` for array image, if no cast
  required (pr/638, MB, reviewed by CM)

Maintenance
-----------
* Use SSH address to use key-based auth (pr/587) (CM, reviewed by MB)
* Fix doctests for numpy 1.14 array printing (pr/591) (MB, reviewed by CM)
* Refactor for pydicom 1.0 API changes (pr/599) (MB, reviewed by CM)
* Increase test coverage, remove unreachable code (pr/602) (CM, reviewed by 
  Yaroslav Halchenko, MB)
* Move ``nib-ls`` and other programs to a new cmdline module (pr/601, pr/615)
  (Chris Cheng, reviewed by MB, Yaroslav Halchenko)
* Remove deprecated numpy indexing (EL, reviewed by CM)
* Update documentation to encourage ``get_fdata`` over ``get_data`` (pr/637,
  MB, reviewed by CM)

API changes and deprecations
----------------------------
* Support for ``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.
* Drop-in support for ``indexed_gzip < 0.7`` has been removed.


2.2.1 (Wednesday 22 November 2017)
==================================

Bug fixes
---------

* Set L/R labels in orthoview correctly (pr/564) (CM)
* Defer use of ufunc / memmap test - allows "freezing" (pr/572) (MB, reviewed
  by Satra Ghosh)
* Fix doctest failures with pre-release numpy (pr/582) (MB, reviewed by CM)

Maintenance
-----------

* Update documentation around NIfTI qform/sform codes (pr/576) (Paul McCarthy,
  reviewed by MB, CM) + (pr/580) (Bennet Fauber, reviewed by Paul McCarthy)
* Skip precision test on macOS, newer numpy (pr/583) (MB, reviewed by CM)
* Simplify AppVeyor script, removing conda (pr/584) (MB, reviewed by CM)

2.2 (Friday 13 October 2017)
============================

New features
------------

* CIFTI support (pr/249) (Satra Ghosh, Michiel Cottaar, BC, CM, Demian
  Wassermann, MB)
* Support for MRtrix TCK streamlines file format (pr/486) (MC, reviewed by
  MB, Arnaud Bore, J-Donald Tournier, Jean-Christophe Houde)
* Added ``get_fdata()`` as default method to retrieve scaled floating point
  data from ``DataobjImage``s (pr/551) (MB, reviewed by CM, Satra Ghosh)

Enhancements
------------

* Support for alternative header field name variants in .PAR files
  (pr/507) (Gregory R. Lee)
* Various enhancements to streamlines API by MC: support for reading TRK
  version 1 (pr/512); concatenation of tractograms using `+`/`+=` operators
  (pr/495); function to concatenate multiple ArraySequence objects (pr/494)
* Support for numpy 1.12 (pr/500, pr/502) (MC, MB)
* Allow dtype specifiers as fileslice input (pr/485) (MB)
* Support "headerless" ArrayProxy specification, enabling memory-efficient
  ArrayProxy reshaping (pr/521) (CM)
* Allow unknown NIfTI intent codes, add FSL codes (pr/528) (Paul McCarthy)
* Improve error handling for ``img.__getitem__`` (pr/533) (Ariel Rokem)
* Delegate reorientation to SpatialImage classes (pr/544) (Mark Hymers, CM,
  reviewed by MB)
* Enable using ``indexed_gzip`` to reduce memory usage when reading from
  gzipped NIfTI and MGH files (pr/552) (Paul McCarthy, reviewed by MB, CM)

Bug fixes
---------

* Miscellaneous MINC reader fixes (pr/493) (Robert D. Vincent, reviewed by CM,
  MB)
* Fix corner case in ``wrapstruct.get`` (pr/516) (Paul McCarthy, reviewed by
  CM, MB)

Maintenance
-----------

* Fix documentation errors (pr/517, pr/536) (Fernando Perez, Venky Reddy)
* Documentation update (pr/514) (Ivan Gonzalez)
* Update testing to use pre-release builds of dependencies (pr/509) (MB)
* Better warnings when nibabel not on path (pr/503) (MB)

API changes and deprecations
----------------------------

* ``header`` argument to ``ArrayProxy.__init__`` is renamed to ``spec``
* Deprecation of ``header`` property of ``ArrayProxy`` object, for removal in
  3.0
* ``wrapstruct.get`` now returns entries evaluating ``False``, instead of ``None``
* ``DataobjImage.get_data`` to be deprecated April 2018, scheduled for removal
  April 2020


2.1 (Monday 22 August 2016)
===========================

New features
------------

* New API for managing streamlines and their different file formats. This
  adds a new module ``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);
* A prototype image viewer using matplotlib (pr/404) (EL, based on a
  proto-prototype by Paul Ivanov) (Reviewed by Gregory R. Lee, MB);
* Functions for image resampling and smoothing using scipy ndimage (pr/255)
  (MB, reviewed by EL, BC);
* Add ability to write FreeSurfer morphology data (pr/414) (CM, BC, reviewed
  by BC);
* Read and write support for DICOM tags in NIfTI Extended Header using
  pydicom (pr/296) (Eric Kastman).

Enhancements
------------

* Extensions to FreeSurfer module to fix reading and writing of FreeSurfer
  geometry data (pr/460) (Alexandre Gramfort, Jaakko Leppäkangas, reviewed
  by EL, CM, MB);
* Various improvements to PAR / REC handling by Gregory R. Lee: supporting
  multiple TR values (pr/429); output of volume labels (pr/427); fix for
  some diffusion files (pr/426); option for more sophisticated sorting of
  volumes (pr/409);
* Original trackvis reader will now allow final streamline to have fewer
  points than the number declared in the header, with ``strict=False``
  argument to ``read`` function;
* Helper function to return voxel sizes from an affine matrix (pr/413);
* Fixes to DICOM multiframe reading to avoid assumptions on the position of
  the multiframe index (pr/439) (Eric M. Baker);
* More robust handling of "CSA" private information in DICOM files (pr/393)
  (Brendan Moloney);
* More explicit error when trying to read image from non-existent file
  (pr/455) (Ariel Rokem);
* Extension to `nib-ls` command to show image statistics (pr/437) and other
  header files (pr/348) (Yarik Halchenko).

Bug fixes
---------

* Fixes to rotation order to generate affine matrices of PAR / REC files (MB,
  Gregory R Lee).

Maintenance
-----------

* Dropped support for Pythons 2.6 and 3.2;
* Comprehensive refactor and generalization of surface / GIFTI file support
  with improved API and extended tests (pr/352-355, pr/360, pr/365, pr/403)
  (BC, reviewed by CM, MB);
* Refactor of image classes (pr/328, pr/329) (BC, reviewed by CM);
* Better Appveyor testing on new Python versions (pr/446) (Ariel Rokem);
* Fix shebang lines in scripts for correct install into virtualenvs via pip
  (pr/434);
* Various fixes for numpy, matplotlib, and PIL / Pillow compatibility (CM,
  Ariel Rokem, MB);
* Improved test framework for warnings (pr/345) (BC, reviewed by CM, MB);
* New decorator to specify start and end versions for deprecation warnings
  (MB, reviewed by CM);
* Write qform affine matrix to NIfTI images output by ``parrec2nii`` (pr/478)
  (Jasper J.F. van den Bosch, reviewed by Gregory R. Lee, MB).

API changes and deprecations
----------------------------

* Minor API breakage in original (rather than new) trackvis reader. We are now
  raising a ``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.
* Change sform code that ``parrec2nii`` script writes to NIfTI images; change
  from 2 ("aligned") to 1 ("scanner");
* Deprecation of ``get_header``, ``get_affine`` method of image objects for
  removal in version 4.0;
* Removed broken ``from_filespec`` method from image objects, and deprecated
  ``from_filespec`` method of ECAT image objects for removal in 4.0;
* Deprecation of ``class_map`` instance in ``imageclasses`` module in favor of
  new image class attributes, for removal in 4.0;
* Deprecation of ``ext_map`` instance in ``imageclasses`` module in favor of
  new image loading API, for removal in 4.0;
* Deprecation of ``Header`` class in favor of ``SpatialHeader``, for removal
  in 4.0;
* Deprecation of ``BinOpener`` class in favor of more generic ``Opener``
  class, for removal in 4.0;
* Deprecation of ``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;
* Deprecation of ``giftiio`` ``read`` and ``write`` functions in favor of
  nibabel ``load`` and ``save`` functions, for removal in 4.0;
* Deprecation of ``gifti.data_tag`` function, for removal in 4.0;
* Deprecation of write-access to ``GiftiDataArray.num_dim``, and new error
  when trying to set invalid values for ``num_dim``.  We will remove
  write-access in 4.0;
* Deprecation of ``GiftiDataArray.from_array`` in favor of ``GiftiDataArray``
  constructor, for removal in 4.0;
* Deprecation of ``GiftiDataArray`` ``to_xml_open, to_xml_close`` methods in
  favor of ``to_xml`` method, for removal in 4.0;
* Deprecation of ``parse_gifti_fast.Outputter`` class in favor of
  ``GiftiImageParser``, for removal in 4.0;
* Deprecation of ``parse_gifti_fast.parse_gifti_file`` function in favor of
  ``GiftiImageParser.parse`` method, for removal in 4.0;
* Deprecation of ``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.

2.0.2 (Monday 23 November 2015)
===============================

* Fix for integer overflow on large images (pr/325) (MB);
* Fix for Freesurfer nifti files with unusual dimensions (pr/332) (Chris
  Markiewicz);
* Fix typos on benchmarks and tests (pr/336, pr/340, pr/347) (Chris
  Markiewicz);
* Fix Windows install script (pr/339) (MB);
* Support for Python 3.5 (pr/363) (MB) and numpy 1.10 (pr/358) (Chris
  Markiewicz);
* Update pydicom imports to permit version 1.0 (pr/379) (Chris Markiewicz);
* Workaround for Python 3.5.0 gzip regression (pr/383) (Ben Cipollini).
* tripwire.TripWire object now raises subclass of AttributeError when trying
  to get an attribute, rather than a direct subclass of Exception.  This
  prevents Python 3.5 triggering the tripwire when doing inspection prior to
  running doctests.
* Minor API change for tripwire.TripWire object; code that checked for
  AttributeError will now also catch TripWireError.

2.0.1 (Saturday 27 June 2015)
=============================

Contributions from Ben Cipollini, Chris Markiewicz, Alexandre Gramfort,
Clemens Bauer, github user freec84.

* Bugfix release with minor new features;
* Added ``axis`` parameter to ``concat_images`` (pr/298) (Ben Cipollini);
* Fix for unsigned integer data types in ECAT images (pr/302) (MB, test data
  and issue report from Github user freec84);
* Added new ECAT and Freesurfer data files to automated testing;
* Fix for Freesurfer labels error on early numpies (pr/307) (Alexandre
  Gramfort);
* Fixes for PAR / REC header parsing (pr/312) (MB, issue reporting and test
  data by Clemens C. C. Bauer);
* Workaround for reading Freesurfer ico7 surface files (pr/315) (Chris
  Markiewicz);
* Changed to github pages for doc hosting;
* Changed docs to point to neuroimaging@python.org mailing list.

2.0.0 (Tuesday 9 December 2014)
===============================

This release had large contributions from Eric Larson, Brendan Moloney,
Nolan Nichols, Basile Pinsard, Chris Johnson and Nikolaas N. Oosterhof.

* New feature, bugfix release with minor API breakage;
* Minor API breakage: default write of NIfTI / Analyze image data offset
  value. The data offset is the number of bytes from the beginning of file
  to skip before reading the image data.  Nibabel behavior changed from
  keeping the value as read from file, to setting the offset to zero on
  read, and setting the offset when writing the header. The value of the
  offset will now be the minimum value necessary to make room for the header
  and any extensions when writing the file. You can override the default
  offset by setting value explicitly to some value other than zero. To read
  the original data offset as read from the header, use the ``offset``
  property of the image ``dataobj`` attribute;
* Minor API breakage: data scaling in NIfTI / Analyze now set to NaN when
  reading images.  Data scaling refers to the data intercept and slope
  values in the NIfTI / Analyze header.  To read the original data scaling
  you need to look at the ``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;
* New API for managing image caching; images have an ``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``;
* Images now have properties ``dataobj``, ``affine``, ``header``. We will
  slowly phase out the ``get_affine`` and ``get_header`` image methods;
* The image ``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;
* NIfTI2 read / write support;
* Read support for MINC2;
* Much extended read support for PAR / REC, largely due to work from Eric
  Larson and Gregory R. Lee on new code, advice and code review. Thanks also
  to Jeff Stevenson and Bennett Landman for helpful discussion;
* ``parrec2nii`` script outputs images in LAS voxel orientation, which
  appears to be necessary for compatibility with FSL ``dtifit`` /
  ``fslview`` diffusion analysis pipeline;
* Preliminary support for Philips multiframe DICOM images (thanks to Nolan
  Nichols, Ly Nguyen and Brendan Moloney);
* New function to save Freesurfer annotation files (by Github user ohinds);
* Method to return MGH format ``vox2ras_tkr`` affine (Eric Larson);
* 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 read data with the ``read_img_data`` function;
* Fix for bug when replacing NaN values with zero when writing floating
  point data as integers.  If the input floating point data range did not
  include zero, then NaN would not get written to a value corresponding to
  zero in the output;
* Improvements and bug fixes to image orientation calculation and DICOM
  wrappers by Brendan Moloney;
* Bug fixes writing GIfTI files. We were using a base64 encoding that didn't
  match the spec, and the wrong field name for the endian code. Thanks to
  Basile Pinsard and Russ Poldrack for diagnosis and fixes;
* Bug fix in ``freesurfer.read_annot`` with ``orig_ids=False`` when annot
  contains vertices with no label (Alexandre Gramfort);
* More tutorials in the documentation, including introductory tutorial on
  DICOM, and on coordinate systems;
* Lots of code refactoring, including moving to common code-base for Python
  2 and Python 3;
* New mechanism to add images for tests via git submodules.

1.3.0 (Tuesday 11 September 2012)
=================================

Special thanks to Chris Johnson, Brendan Moloney and JB Poline.

* New feature and bugfix release
* Add ability to write Freesurfer triangle files (Chris Johnson)
* Relax threshold for detecting rank deficient affines in orientation
  detection (JB Poline)
* Fix for DICOM slice normal numerical error (issue #137) (Brendan Moloney)
* Fix for Python 3 error when writing zero bytes for offset padding

1.2.2 (Wednesday 27 June 2012)
==============================

* Bugfix release
* Fix longdouble tests for Debian PPC (thanks to Yaroslav Halchecko for
  finding and diagnosing these errors)
* Generalize longdouble tests in the hope of making them more robust
* Disable saving of float128 nifti type unless platform has real IEEE
  binary128 longdouble type.

1.2.1 (Wednesday 13 June 2012)
==============================

Particular thanks to Yaroslav Halchecko for fixes and cleanups in this
release.

* Bugfix release
* Make compatible with pydicom 0.9.7
* Refactor, rename nifti diagnostic script to ``nib-nifti-dx``
* Fix a bug causing an error when analyzing affines for orientation, when the
  affine contained all 0 columns
* Add missing ``dicomfs`` script to installation list and rename to
  ``nib-dicomfs``

1.2.0 (Sunday 6 May 2012)
=========================

This release had large contributions from Krish Subramaniam, Alexandre
Gramfort, Cindee Madison, Félix C. Morency and Christian Haselgrove.

* New feature and bugfix release
* Freesurfer format support by Krish Subramaniam and Alexandre Gramfort.
* ECAT read write support by Cindee Madison and Félix C. Morency.
* A DICOM fuse filesystem by Christian Haselgrove.
* Much work on making data scaling on read and write more robust to rounding
  error and overflow (MB).
* Import of nipy functions for working with affine transformation matrices.
* Added methods for working with nifti sform and qform fields by Bago
  Amirbekian and MB, with useful discussion by Brendan Moloney.
* Fixes to read / write of RGB analyze images by Bago Amirbekian.
* Extensions to ``concat_images`` by Yannick Schwartz.
* A new ``nib-ls`` script to display information about neuroimaging files, and
  various other useful fixes by Yaroslav Halchenko.

1.1.0 (Thursday 28 April 2011)
==============================

Special thanks to Chris Burns, Jarrod Millman and Yaroslav Halchenko.

* New feature release
* Python 3.2 support
* Substantially enhanced gifti reading support (SG)
* 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 voxel_order field in trackvis header.  Thanks to Chris Filo
  Gorgolewski for pointing out the problem and Ruopeng Wang in the trackvis
  forum for clarifying the coordinate system of trackvis files.
* Added routine to give approximate array orientation in form such as 'RAS'
  or 'LPS'
* Fix numpy dtype hash errors for numpy 1.2.1
* Other bug fixes as for 1.0.2

1.0.2 (Thursday 14 April 2011)
==============================

* Bugfix release
* Make inference of data type more robust to changes in numpy dtype hashing
* Fix incorrect thresholds in quaternion calculation (thanks to Yarik H for
  pointing this one out)
* Make parrec2nii pass over errors more gracefully
* More explicit checks for missing or None field in trackvis and other
  classes - thanks to Marc-Alexandre Cote
* Make logging and error level work as expected - thanks to Yarik H
* Loading an image does not change qform or sform - thanks to Yarik H
* Allow 0 for nifti scaling as for spec - thanks to Yarik H
* nifti1.save now correctly saves single or pair images

1.0.1 (Wednesday 23 Feb 2011)
=============================

* Bugfix release
* Fix bugs in tests for data package paths
* Fix leaks of open filehandles when loading images (thanks to Gael
  Varoquaux for the report)
* Skip rw tests for SPM images when scipy not installed
* Fix various windows-specific file issues for tests
* Fix incorrect reading of byte-swapped trackvis files
* Workaround for odd numpy dtype comparisons leading to header errors for
  some loaded images (thanks to Cindee Madison for the report)

1.0.0 (Thursday, 13, Oct 2010)
==============================

* This is the first public release of the NiBabel package.
* NiBabel is a complete rewrite of the PyNifti package in pure python.  It was
  designed to make the code simpler and easier to work with. Like PyNifti,
  NiBabel has fairly comprehensive NIfTI read and write support.
* Extended support for SPM Analyze images, including orientation affines from
  matlab ``.mat`` files.
* Basic support for simple MINC 1.0 files (MB).  Please let us know if you
  have MINC files that we don't support well.
* Support for reading and writing PAR/REC images (MH)
* ``parrec2nii`` script to convert PAR/REC images to NIfTI format (MH)
* Very preliminary, limited and highly experimental DICOM reading support (MB,
  Ian Nimmo Smith).
* Some functions (`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)
* Gifti format read and write support (preliminary) (Stephen Gerhard)
* Added utilities to use nipy-style data packages, by rip then edit of nipy
  data package code (MB)
* Some improvements to release support (Jarrod Millman, MB, Fernando Perez)
* Huge downward step in the quality and coverage by the docs, caused by MB,
  mostly fixed by a lot of good work by MH.
* NiBabel will not work with Python < 2.5, and we haven't even tested it with
  Python 3.  We will get to it soon...

****************
PyNifti releases
****************

Modifications are done by Michael Hanke, if not indicated otherwise. 'Closes'
statement IDs refer to the Debian bug tracking system and can be queried by
visiting the URL::

  http://bugs.debian.org/<bug id>

0.20100706.1 (Tue, 6 Jul 2010)
==============================

* Bugfix: NiftiFormat.vx2s() used the qform not the sform. Thanks to Tom
  Holroyd for reporting.

0.20100412.1 (Mon, 12 Apr 2010)
===============================

* Bugfix: Unfortunate interaction between Python garbage collection and C
  library caused memory problems. Thanks to Yaroslav Halchenko for the
  diagnose and fix.

0.20090303.1 (Tue, 3 Mar 2009)
==============================

* Bugfix: Updating the NIfTI header from a dictionary was broken.
* Bugfix: Removed left-over print statement in extension code.
* Bugfix: Prevent saving of bogus 'None.nii' images when the filename
  was previously assign, before calling NiftiImage.save() (Closes: #517920).
* Bugfix: Extension length was to short for all `edata` whos length matches
  n*16-8, for all integer n.

0.20090205.1 (Thu, 5 Feb 2009)
==============================

* This release is the first in a series that aims stabilize the API and
  finally result in PyNIfTI 1.0 with full support of the NIfTI1 standard.
* The whole package was restructured. The included renaming
  `nifti.nifti(image,format,clibs)` to `nifti.(image,format,clibs)`. Redirect
  modules make sure that existing user code will not break, but they will
  issue a DeprecationWarning and will be removed with the release of PyNIfTI
  1.0.
* Added a special extension that can embed any serializable Python object
  into the NIfTI file header. The contents of this extension is
  automatically expanded upon request into the `.meta` attribute of each
  NiftiImage. When saving files to disk the content of the dictionary is also
  automatically dumped into this extension.
  Embedded meta data is not loaded automatically, since this has security
  implications, because code from the file header is actually executed.
  The documentation explicitely mentions this risk.
* Added :class:`~nifti.extensions.NiftiExtensions`. This is a container-like
  handler to access and manipulate NIfTI1 header extensions.
* Exposed :class:`~nifti.image.MemMappedNiftiImage` in the root module.
* Moved :func:`~nifti.utils.cropImage` into the :mod:`~nifti.utils` module.
* From now on Sphinx is used to generate the documentation. This includes a
  module reference that replaces that old API reference.
* Added methods :meth:`~nifti.format.NiftiFormat.vx2q` and
  :meth:`~nifti.format.NiftiFormat.vx2s` to convert voxel indices into
  coordinates defined by qform or sform respectively.
* Updating the `cal_min` and `cal_max` values in the NIfTI header when
  saving a file is now conditional, but remains enabled by default.
* Full set of methods to query and modify axis units. This includes
  expanding the previous `xyzt_units` field in the header dictionary into
  editable `xyz_unit` and `time_unit` fields. The former `xyzt_units` field
  is no longer available. See:
  :meth:`~nifti.format.NiftiFormat.getXYZUnit`,
  :meth:`~nifti.format.NiftiFormat.setXYZUnit`,
  :meth:`~nifti.format.NiftiFormat.getTimeUnit`,
  :meth:`~nifti.format.NiftiFormat.setTimeUnit`,
  :attr:`~nifti.format.NiftiFormat.xyz_unit`,
  :attr:`~nifti.format.NiftiFormat.time_unit`
* Full set of methods to query and manuipulate qform and sform codes. See:
  :meth:`~nifti.format.NiftiFormat.getQFormCode`,
  :meth:`~nifti.format.NiftiFormat.setQFormCode`,
  :meth:`~nifti.format.NiftiFormat.getSFormCode`,
  :meth:`~nifti.format.NiftiFormat.setSFormCode`,
  :attr:`~nifti.format.NiftiFormat.qform_code`,
  :attr:`~nifti.format.NiftiFormat.sform_code`
* Each image instance is now able to generate a human-readable dump of its
  most important header information via `__str__()`.
* :class:`~nifti.image.NiftiImage` objects can now be pickled.
* Switched to NumPy's distutils for building the package. Cleaned and
  simplified the build procedure. Added optimization flags to SWIG call.
* :attr:`nifti.image.NiftiImage.filename` can now also be used to assign a
  filename.
* Introduced :data:`nifti.__version__` as canonical version string.
* Removed `updateQFormFromQuarternion()` from the list of public methods of
  :class:`~nifti.format.NiftiFormat`. This is an internal method that
  should not be used in user code. However, a redirect to the new method
  will remain in-place until PyNIfTI 1.0.
* Bugfix: :meth:`~nifti.image.NiftiImage.getScaledData` returns a
  unmodified data array if `slope` is set to zero (as required by the NIfTI
  standard). Thanks to Thomas Ross for reporting.
* Bugfix: Unicode filenames are now handled properly, as long as they do not
  contain pure-unicode characters (since the NIfTI library does not support
  them). Thanks to Gaël Varoquaux for reporting this issue.

0.20081017.1 (Fri, 17 Oct 2008)
===============================

* Updated included minimal copy of the nifticlibs to version 1.1.0.
* Few changes to the Makefiles to enhance Posix compatibility. Thanks to
  Chris Burns.
* When building on non-Debian systems, only add include and library paths
  pointing to the local nifticlibs copy, when it is actually built.
  On Debian system the local copy is still not used at all, as a proper
  nifticlibs package is guaranteed to be available.
* Added minimal setup_egg.py for setuptools users. Thanks to Gaël Varoquaux.
* PyNIfTI now does a proper wrapping of the image data with NumPy arrays,
  which no longer leads to accidental memory leaks, when accessing array
  data that has not been copied before (e.g. via the *data* property of
  NiftiImage). Thanks to Gaël Varoquaux for mentioning this possibility.

0.20080710.1 (Thu, 7 Jul 2008)
==============================

* Bugfix: Pointer bug introduced by switch to new NumPy API in 0.20080624
  Thanks to Christopher Burns for fixing it.
* Bugfix: Honored DeprecationWarning: sync() -> flush() for memory mapped
  arrays. Again thanks to Christopher Burns.
* More unit tests and other improvements (e.g. fixed circular imports) done
  by Christopher Burns.

0.20080630.1 (Tue, 30 Jun 2008)
===============================

* Bugfix: NiftiImage caused a memory leak by not calling the NiftiFormat
  destructor.
* Bugfix: Merged bashism-removal patch from Debian packaging.

0.20080624.1 (Tue, 24 Jun 2008)
===============================

* Converted all documentation (including docstrings) into the restructured
  text format.
* Improved Makefile.
* Included configuration and Makefile support for profiling, API doc
  generation (via epydoc) and code quality checks (with PyLint).
* Consistently import NumPy as N.
* Bugfix: Proper handling of [qs]form codes, which previously have not been
  handled at all. Thanks to Christopher Burns for pointing it out.
* Bugfix: Make NiftiFormat work without setFilename(). Thanks to Benjamin
  Thyreau for reporting.
* Bugfix: setPixDims() stored meaningless values.
* Use new NumPy API and replace deprecated function calls
  (`PyArray_FromDimsAndData`).
* Initial support for memory mapped access to uncompressed NIfTI files
  (`MemMappedNiftiImage`).
* Add a proper Makefile and setup.cfg for compiling PyNIfTI under Windows
  with MinGW.
* Include a minimal copy of the most recent nifticlibs (just libniftiio and
  znzlib; version 1.0), to lower the threshold to build PyNIfTI on systems
  that do not provide a developer package for those libraries.

0.20070930.1 (Sun, 30 Sep 2007)
===============================

* Relicense under the MIT license, to be compatible with SciPy license.
  http://www.opensource.org/licenses/mit-license.php
* Updated documentation.

0.20070917.1 (Mon, 17 Sep 2007)
===============================

* Bugfix: Can now update NIfTI header data when no filename is set
  (Closes: #442175).
* Unloading of image data without a filename set is no checked and prevented
  as it would damage data integrity and the image data could not be
  recovered.
* Added 'pixdim' property (Yaroslav Halchenko).

0.20070905.1  (Wed, 5 Sep 2007)
===============================

* Fixed a bug in the qform/quaternion handling that caused changes to the
  qform to vanish when saving to file (Yaroslav Halchenko).
* Added more unit tests.
* 'dim' vector in the NIfTI header is now guaranteed to only contain
  non-zero elements. This caused problems with some applications.

0.20070803.1 (Fri, 3 Aug 2007)
==============================

* Does not depend on SciPy anymore.
* Initial steps towards a unittest suite.
* pynifti_pst can now print the peristimulus signal matrix for a single
  voxel (onsets x time) for easier processing of this information in
  external applications.
* utils.getPeristimulusTimeseries() can now be used to compute mean and
  variance of the signal (among others).
* pynifti_pst is able to compute more than just the mean peristimulus
  timeseries (e.g. variance and standard deviation).
* Set default image description when saving a file if none is present.
* Improved documentation.

0.20070425.1 (Wed, 25 Apr 2007)
===============================

* Improved documentation. Added note about the special usage of the header
  property. Also added notes about the relevant properties in the docstring
  of the corresponding accessor methods.
* Added property and accessor methods to access/modify the repetition time
  of timeseries (dt).
* Added functions to manipulate the pixdim values.
* Added utils.py with some utility functions.
* Added functions/property to determine the bounding box of an image.
* Fixed a bug that caused a corrupted sform matrix when converting a NumPy
  array and a header dictionary into a NIfTI image.
* Added script to compute peristimulus timeseries (pynifti_pst).
* Package now depends on python-scipy.

0.20070315.1 (Thu, 15 Mar 2007)
===============================

* Removed functionality for "NiftiImage.save() raises an IOError
  exception when writing the image file fails." (Yaroslav Halchenko)
* Added ability to force a filetype when setting the filename or saving
  a file.
* Reverse the order of the 'header' and 'load' argument in the NiftiImage
  constructor. 'header' is now first as it seems to be used more often.
* Improved the source code documentation.
* Added getScaledData() method to NiftiImage that returns a copy of the data
  array that is scaled with the slope and intercept stored in the NIfTI
  header.

0.20070301.2 (Thu, 1 Mar 2007)
==============================

* Fixed wrong link to the source tarball in README.html.

0.20070301.1 (Thu, 1 Mar 2007)
==============================

* Initial upload to the Debian archive. (Closes: #413049)
* NiftiImage.save() raises an IOError exception when writing the image file
  fails.
* Added extent, volextent, and timepoints properties to NiftiImage
  class (Yaroslav Halchenko).

0.20070220.1 (Tue, 20 Feb 2007)
===============================

* NiftiFile class is renamed to NiftiImage.
* SWIG-wrapped libniftiio functions are no available in the nifticlib
  module.
* Fixed broken NiftiImage from Numpy array constructor.
* Added initial documentation in README.html.
* Fulfilled a number of Yarik's wishes ;)

0.20070214.1 (Wed, 14 Feb 2007)
===============================

* Does not depend on libfslio anymore.
* Up to seven-dimensional dataset are supported (as much as NIfTI can do).
* The complete NIfTI header dataset is modifiable.
* Most image properties are accessable via class attributes and accessor
  methods.
* Improved documentation (but still a long way to go).

0.20061114 (Tue, 14 Nov 2006)
=============================

* Initial release.