supereeg icon indicating copy to clipboard operation
supereeg copied to clipboard

change downsampling for nifti

Open lucywowen opened this issue 6 years ago • 0 comments

Issue with downsampling nifti images. This fixed it:

from nilearn.image import resample_img downsampled_nii = resample_img(yeo, target_affine=np.eye(3)*4., interpolation='nearest')

lucywowen avatar Nov 07 '19 03:11 lucywowen