:orphan: .. _ahelp_3dinfo: ****** 3dinfo ****** .. contents:: :local: | Prints out sort-of-useful information from a 3D dataset's header Usage: 3dinfo [-verb OR -short] dataset [dataset ...] ===================================================== .. code-block:: none -verb means to print out lots of stuff -VERB means even more stuff [including slice time offsets] -short means to print out less stuff [now the default] -no_hist means to omit the HISTORY text -h: Mini help, at time, same as -help in many cases. -help: The entire help output -HELP: Extreme help, same as -help in majority of cases. -h_view: Open help in text editor. AFNI will try to find a GUI editor -hview : on your machine. You can control which it should use by setting environment variable AFNI_GUI_EDITOR. -h_web: Open help in web browser. AFNI will try to find a browser. -hweb : on your machine. You can control which it should use by setting environment variable AFNI_GUI_EDITOR. -h_find WORD: Look for lines in this programs's -help output that match (approximately) WORD. -h_raw: Help string unedited -h_spx: Help string in sphinx loveliness, but do not try to autoformat -h_aspx: Help string in sphinx with autoformatting of options, etc. -all_opts: Try to identify all options for the program from the output of its -help option. Some options might be missed and others misidentified. Use this output for hints only. Alternative Usage 1 (without either of the above options): ========================================================== .. code-block:: none Output a large block of text per dataset. This has multiple options: \-label2index label dataset : output index corresponding to label ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. code-block:: none example: 3dinfo -label2index aud#0_Coef stats.FT+tlrc Prints to stdout the index corresponding to the sub-brick with the name label, or a blank line if label not found. The ONLY output is this sub-brick index. This is intended for used in a script, as in this tcsh fragment: set face = `3dinfo -label2index Face#0 AA_Decon+orig` set hous = `3dinfo -label2index House#0 AA_Decon+orig` 3dcalc -a AA_Decon+orig"[$face]" -b AA_Decon+orig"[$hous]" ... * Added per the request and efforts of Colm Connolly. \-niml_hdr dataset : output entire NIML-formatted header ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. code-block:: none example: 3dinfo -niml_hdr stats.FT+tlrc Prints to stdout the NIML-formatted equivalent of the .HEAD file. \-subbrick_info dataset : output only sub-brick part of info +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. code-block:: none example: 3dinfo -subbrick_info stats.FT+tlrc Prints to stdout only the part of the full '3dinfo -VERB. output that includes sub-brick info. The first such line might look like: -- At sub-brick #0 'Full_Fstat' datum type is float: 0 to 971.2 Alternate Usage 2: ================== .. code-block:: none 3dinfo