Open garikoitz opened 4 years ago
Matlab's native niftiwrite
supports nifti version 2, and automatically uses it when the number of dimensions is greater than 32767; nibabel in Python also supporst nifti2--we should just use it when the dimensions are larger (or just always?)
For running other data, such as the HCP data, we should just convert data over to nifti2 for use with prfanalyze; in the future we can worry about supporting other file formats.
Noah, I forgot about this: if the input is an standard 8x8x8 nifti, for example, the outputs shuold be in the same format, so one 8x8x8 file for x, another one for y, sigma and so forth. I haven't checked if this is true right now
Note: this needs to be solved in analyzePRF and VistaSoft--once these are fixed, we should be able to use nifti2 throughout. (@noahbenson is going to work on analyzePRF, @garikoitz is going to work on VistaSoft).
@garikoitz ask Reynolds what AFNI is doing
I believe that the Nifti2 standard allows for sizes of more than 32,767 ; MGH/MGZ (FreeSurfer) also supports it, as do Gifti and Cifti. Nifti2 might be the easiest, though.