[MINC-users] Modifying Minc Header
Jason Lerch
jason at bic.mni.mcgill.ca
Thu Jan 11 15:14:37 EST 2007
Paul GRAVEL wrote:
> Dear All,
>
> It is probably a basic question, but here it is.
>
> How would someone add a variable in the header of a minc file? For
> example, I am currently running an analysis in PET and I would like to be
> able to add the parameters used for the analysis, e.g. No. of Basis
> Functions, Boundaries of iterations, etc., to the header of the resulting
> *.mnc file. Then I would like to be able to extract these
> parameters/variables by using either mincheader or something like:
> mincinfo -attvalue:analysis_params. Is this possible?
>
Yup:
minc_modify_header -sinsert :globalvar="blah blah" filename.mnc
Use -dinsert for double precision numbers rather than strings (which is
-sinsert), and of course you might want a different variable than
:globalvar.
Jason
> Thanking you in advance.
>
> Best Regards,
>
> Paul
>
>
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>
More information about the MINC-users
mailing list