You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nipy...@googlegroups.com
Hi
since recent changes in nibabel the offset value return by get_data_offset seems to be systematically zero, I do not know what is the exact purpose of this field. My question is related to this as I was using this to get the position of the data in the file to open it with memmap reshaping the array (for hcp data with C order instead of Fortran): how to get this offset? is nii.header.sizeof_hdr+nii.header.extensions.get_sizeondisk() ok ?
Many thanks.
b
basile
unread,
May 20, 2014, 2:29:31 AM5/20/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nipy...@googlegroups.com
It seems that nibabel to read data is getting the right offset from nii._dataobj.header.get_data_offset() for example nii being the NiftiImage.