create .mif file from niii.gz

Dear MRtrix3 experts,

Hello, I have a quick question about converting nii.gz file to .mif to use denoise and further processing.
My data includes bval, bvec, nii.gz file for each subjects. (within one folder)

Also I have another question that I have about 80 subjects in total, and want to do it automatically not by putting all individual subject to convert or to preprocess by hands.

should I make a batch to do automatic task?
or is there any other recommendation?

Thank you!

  1. Use mrconvert to convert the .nii.gz files to .mif
  2. I personally use a batch system to do analyses for subjects in parallel whenever I can.

Have a look at bash loops and our helper script foreach.