[Neuroimaging] Nibabel API change - always read as float

Michael Waskom mwaskom at stanford.edu
Tue Jul 7 01:28:02 CEST 2015


Also, I feel like if I were writing Python code to operate on a label
image, or when I really wanted integer typed data for efficiency reasons, I
would write `data = img.get_data(dtype=int16)` even if the default were
None, because it would make my intentions/expectations clear. But maybe
others feel differently.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20150706/b2bb46a1/attachment.html>


More information about the Neuroimaging mailing list