## Note: This page was created with the CommandTemplate ## ## If you're modifying this page please take a look at the ## latest version of CommandTemplate to ensure that you're ## using the latest version of the CommandTemplate ## ## See HelpOnCommandTemplate for description of formatting '''Index''' <> = Name = mri_head - outputs header information for MGH file = Synopsis = mri_head -identify -read = Arguments = == Required Flagged Arguments == || -identifty || identifies the type of , e.g. MGH / Analyze || || -read || returns detailed information about contents || = Outputs = || identify|| simple type output || || read || detailed information about image parameters || = Description = This command provides information on the contents / type of a image file. = Examples = == Example 1 == Assume that you have a file, {{{seqRecon_channel0_echo0_rep0-mag.mgh}}} in a given directory. From a command prompt in that directory, if you execute mri_head -identify seqRecon_channel0_echo0_rep0-mag.mgh the command will return {{{ succeed mgh }}} This identifies the file type of {{{seqRecon_channel0_echo0_rep0-mag.mgh}}}. Of course, this example is somewhat trivial since the file type (MGH) is obvious from the file extension. == Example 2 == Assuming again the above file, if you type mri_head --read seqRecon_channel0_echo0_rep0-mag.mgh you will receive {{{ succeed fname = height = 256 width = 256 depth = 128 nframe = 1 imnr0 = 1 imnr1 = 128 xnum = 256 ynum = 256 fov = 256.000000 thick = 1.000000 xstart = -128.000000 xend = 128.000000 ystart = -128.000000 yend = 128.000000 zstart = -64.000000 zend = 64.000000 type = 3 sl dir = 0 xsize = 1.000000 ysize = 1.000000 zsize = 1.330002 x ras = -0.000823 -0.992115 0.125330 y ras = 0.006931 -0.125333 -0.992091 z ras = -0.999976 -0.000052 -0.006980 c ras = -1.807669 2.564237 -12.457520 ras_good_flag = 1 xdir = 1 ydir = 2 zdir = 3 brightness = 1 subject_name = path_to_t1 = fname_format = }}} This parses {{{seqRecon_channel0_echo0_rep0-mag.mgh}}} and returns detailed information about the file. = Bugs = The command does not provide much in the way of embedded or on-line help. = See Also = [[mri_info]] = Links = FreeSurfer, FsFast = Methods Description = N/A = References = N/A = Reporting Bugs = Report bugs to = Author/s = YasunariTosa