I have successfully converted dicom files to niftii files using dcm2nii in ipython.
However, I want to also change the name of the output, for example to “t1.nii”.
Not it has a complicated name. So according to Chris Rorden that answered my query at the NITRC forum, he recommended me to use dcm2niix instead of dcm2nii. dcm2nii allows one to specify out_filename, with flag -f, e.g. ‘-f t1’. I would like to know how to do this. Maybe you can answer this. But the most acute problem is, however, that I cannot import dcm2niix.
from nipype.interfaces.dcm2nii import dcm2niix. It says, cannot import name dcm2niix.
Obviously, dcm2nii has worked. I have installed dcm2niix from neurodebian and all seems updated. What am I doing wrong.
thanx, I had written it like you suggested. I wrote it incorrectly in my question here. I will try to update nipype. I thought I did so in the terminal in unix using sudo apt-get update. Is that correct?
Thank you! I did this. It installed. I tried to from nipype.interfaces.dcm2nii import Dcm2niix from ipython but got the error message cannot import name Dcm2niix.
From the installation/update of Nipype from the terminal, the only error message seems to be: