Hi, thank you for your reply! <br><br>After np.squeeze, ni.data.shape is (624, 33, 64, 64), but fmri_dataset(ni, ...) gives an error (I couldn't use NiftiDataset since it's been changed to fmri_dataset). <br><br>TypeError: 'NoneType' object is not iterable. <br>
<br>Also, I looked at individual points, i.e. ni.data[0,0,0], before and after using np.squeeze and the values were all 0's. np.mean(ni.data) however, was a negative number. Is this something from our AFNI processing, as NiftiImage wouldn't cause this?<br>
<br>Again, thanks very much for any input!<br><br>Kimberly Zhou<br><br><br><br><br><br><br><br><br>