This shows you the differences between two versions of the page.
jvs:fscan:manual:chapter2:output [2020/01/30 16:58] voyvodic |
jvs:fscan:manual:chapter2:output [2023/02/23 18:43] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | **fScan Reference Manual, Chapter 2 (CmdLineOptions): | ||
- | ===== Output -- = | ||
- | ==== | ||
- | **usage: -output [formatname] filename [flag]**\\ | ||
- | **or: -output [wordsize] filename [flag]**\\ | ||
- | **or: -output > stdoutfile**\\ | ||
- | **or: -output >> stdoutfile**\\ | ||
- | **or: -output stdout 0**\\ | ||
- | ===== ===== | ||
- | |||
- | If FILENAME is " | ||
- | |||
- | FORMATNAME indicates what type of output file to create. | ||
- | * biac -- images with BIAC's BXH header | ||
- | * analyze -- images with Analyze headers | ||
- | * jpeg -- images in JPEG format | ||
- | * tiff -- images in TIFF format | ||
- | * dicom -- images in DICOM format | ||
- | * pfile -- images in GE raw k-space " | ||
- | * signa -- images in GE " | ||
- | * volumes -- images in BIAC volume format (no header) | ||
- | * bshorts -- images in FreeSurfer' | ||
- | * bfloats -- images in FreeSurfer' | ||
- | * cors -- images in FreeSurfer' | ||
- | * dmod -- images in UPMC's " | ||
- | * imgf -- images in GE " | ||
- | * nifti -- images in NiFTI format | ||
- | * mgh -- images in MGH format | ||
- | * xml -- same as BIAC | ||
- | |||
- | * pdigm -- behavioral data | ||
- | * surface -- surface data (vertices and triangles) | ||
- | * paint -- surface index data in FreeSurfer format | ||
- | * curv -- surface index data in FreeSurfer format | ||
- | |||
- | * wdf -- Workspace definition XML file | ||
- | * wsf -- Multiple workspace XML file | ||
- | * hdronly -- only create header file(s) that point to existing data file(s) | ||
- | * subject | ||
- | * zip | ||
- | * matrix | ||
- | |||
- | The **FLAG** argument can be used to specify additional options when writing out files.\\ | ||
- | **FLAG** values when writing image files:\\ | ||
- | * 020 - flip images using display [[jvs: | ||
- | |||
- | **FLAG** values when writing 3D surface files:\\ | ||
- | * 020 - include all surfaces (default is just first active surface) | ||
- | |||
- | **FLAG** values when writing workspace (WDF or WSF) files:\\ | ||
- | * 010 - do not write in XML format | ||
- | * 020 - include all data sets (default is only to include only open data sets) | ||
- | * 040 - do not include alignment matrices (written by default if there is alignment) | ||
- | * 01000 - when writing WDF, include data sets from both workspaces (default is only current workspace) | ||
- | |||
- | |||
- | The OUTPUT command can also be used to redirect standard output (stdout) to a file, causing text that would normally be displayed on the screen to be sent to that file. | ||
- | |||
- | To redirect text output to a new file, use:\\ | ||
- | ** -output > filename **\\ | ||
- | To append text output to a file, use:\\ | ||
- | ** -output >> filename **\\ | ||
- | To stop redirecting output, use:\\ | ||
- | ** -output stdout 0 ** | ||
- | |||
- | Note: If using the OUTPUT command to redirect output from a shell command line you must escape each '>' | ||
- | |||
- | **See Also:**\\ | ||
- | [[jvs: | ||
- | [[jvs: | ||
- | [[jvs: | ||
- | [[jvs: | ||