Conversion fMRI files: MNC.GZ to NII to proceed with the analysis of fMRI data.
This script should be run in a shell terminal. In Ubuntu or Mac, it should work in the common terminal. In Windows, you would need to install a bash terminal. To do so, check out this link or open this document.
Once you are in shell/Unix environment, go to the folder where you put the file:
cd 'C:\Users\$$YOUR_USER_HERE\Downloads\mnc2nii_conversion.sh'
cd ~/Downloads/mnc2nii_conversion.sh
Enter the file through any text editor (Notepad, nano, etc) and edit the file:
- Add the path of the folder to the line:
SourcePath=/$Path$for$your$MNC.GZ$files/
- Add the path that you want for the output:
FinalPath=/$Path$to$put$the$NIFTI$files/
And then, just run the writing the next line on the terminal:
bash mnc2nii_conversion.sh