Differences between revisions 4 and 5
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
[[Navigation(children)]]
'''Index'''
[[TableOfContents]]

Line 13: Line 18:
mri_parse_sdcmdir --d [sdicomdir] [<options>] mri_parse_sdcmdir --d sdicomdir [<options>]
Line 15: Line 20:
= Positional Arguments = = Arguments =
=
= Positional Arguments ==
Line 18: Line 24:
= Required Flagged Arguments =
|| --d [sdicomdir] || path to siemens dicom directory || this is the name of the directory where the dicom files are located (required) ||
== Required Flagged Arguments ==
|| --d sdicomdir || path to siemens dicom directory || this is the name of the directory where the dicom files are located (required) ||
Line 21: Line 27:
= Optional Flagged Arguments =
|| --o [outfile] || write results to outfile (default is stdout) || this is the name of the file to which the result will be printed. if unspecified, the results will be printed to stdout ||
== Optional Flagged Arguments ==
|| --o outfile || write results to outfile (default is stdout) || this is the name of the file to which the result will be printed. if unspecified, the results will be printed to stdout ||
Line 31: Line 37:
this program parses the Siemens DICOM files in a given directory, and prints out information about each file. the output is printed to stdout unless a file name is passed with the --o flag mri_parse_sdcmdir parses the Siemens DICOM files in a given directory, and prints out information about each file. the output is printed to stdout unless a file name is passed with the --o flag
Line 52: Line 58:
command foo -i f -o out

description
??
Line 57: Line 61:
command foo -i f -o out -f fvalue

description
??
Line 72: Line 74:
description
description
??
Line 83: Line 84:
JaneSmith BruceFischl

Navigation(children) Index TableOfContents

Name

mri_parse_sdcmdir - parses the DICOM files in a given directory

Synopsis

mri_parse_sdcmdir --d sdicomdir [<options>]

Arguments

Positional Arguments

none

Required Flagged Arguments

--d sdicomdir

path to siemens dicom directory

this is the name of the directory where the dicom files are located (required)

Optional Flagged Arguments

--o outfile

write results to outfile (default is stdout)

this is the name of the file to which the result will be printed. if unspecified, the results will be printed to stdout

--sortbyrun

assign run numbers

--summarize

only print out info for run leaders

forces print out of information for the first file in the run

-- help

how to use this program

Outputs

stdout or outfile

spreadsheet containing information about the DICOM files in a given directory

Description

mri_parse_sdcmdir parses the Siemens DICOM files in a given directory, and prints out information about each file. the output is printed to stdout unless a file name is passed with the --o flag

the most useful information is that which cannot be easily obtained by probing a dicom file. this includes: the run number, number of frames in the run, number of slices in the run, and, for mosaics, the number of rows and cols in the volume

there are 14 columns in the output:

  1. File Number
  2. File Name
  3. Series Number
  4. Series Error Flag (1 for error)
  5. Image Number
  6. Mosaic Flag (1 for mosaics)
  7. Number of Rows in the Volume
  8. Number of Columns in the Volume
  9. Number of Slices in the Volume for the Series
  1. Number of Frames in the Series
  2. Repetition Time (sec)
  3. Echo Time (ms)
  4. Protocol Name - white space stripped

Examples

Example 1

??

Example 2

??

Bugs

None

See Also

["othercommand1"], ["othercommand2"]

Links

FreeSurfer, FsFast

Methods Description

??

References

["References/Lastname###"]

Reporting Bugs

Report bugs to <analysis-bugs@nmr.mgh.harvard.edu>

Author/s

BruceFischl

mri_parse_sdcmdir (last edited 2008-04-29 11:46:24 by localhost)