nipy/nibabel — pull request #187 by matthew-brett (2013-07-25 19:26:40+00:00)
Title: MRG: make data, affine, header properties, test API

Add:

* img.header - prefer to img.get_header()
* img.affine - prefer to img.get_affine()
* img.dataobj - direct access to old img._data

Add tests of image API so that someone implementing a new image type can
test whether they conform to the API.

Use the API tests to check the new properties.