Write NIFTI instead of HEAD/BRIK

Hi all,

I was wondering if there is a way to default to (environment variable) writing .nii instead of HEAD/BRIK. I looked through the environment variables in README.environment, but did not find one for this purpose. Did I miss it?

Thanks for the help!

Jonathan, try specifying your output filename as something like Jonathan.nii instead of Jonathan.

Thanks for your reply, Gang! But what if the data is written by plug_realtime.so. You can’t specify an output filename ending in .nii there. I was hoping to find an environment variable similar to AFNI_AUTOGZIP that can be set to write all data as .nii without explicitly specifying it in the filename. It’s okay if it doesn’t exist. I just want to make sure I didn’t miss it.


Hi Jonathan,

Dimon can output NIFTI, but I do not believe there is any mechanism to do so in the realtime plugin. If that is important, it could probably be added (though there are actually many potential datasets that it could write).

  • rick

Thank you, Rick. It should’t take me too long to add this to the realtime plugin.