Nibabel AFNI to NIFTI?

Greetings!

Has anyone used Nibabel successfully to convert AFNI to NIFTI files (BRIK → .nii)?
Does this achieve the same results as 3dAFNItoNIFTI?

Cheers, Hendrik

Hi Hendrik,

3dAFNItoNIFTI is probably the better bet for that. A lot of the metadata in an AFNI .HEAD file migrates to the AFNI header extension within the nifti format during this conversion. Letting AFNI chose what aspects of that metadata to include is probably a better bet. Nibabel can access the resulting header extension embedded in the nifti file.

John