Skip to content

Commit ea55e81

Browse files
committed
DOC: dcm2niix - details for the output filename pattern, minor typo fixes
1 parent 803982c commit ea55e81

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

nipype/interfaces/dcm2nii.py

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,24 @@ class Dcm2niixInputSpec(CommandLineInputSpec):
275275
xor=['source_names'])
276276
out_filename = traits.Str(
277277
argstr="-f %s",
278-
desc="Output filename")
278+
desc="Output filename template ("
279+
"%a=antenna (coil) number, " \
280+
"%c=comments, " \
281+
"%d=description, " \
282+
"%e=echo number, " \
283+
"%f=folder name, " \
284+
"%i=ID of patient, " \
285+
"%j=seriesInstanceUID, " \
286+
"%k=studyInstanceUID, " \
287+
"%m=manufacturer, " \
288+
"%n=name of patient, " \
289+
"%p=protocol, " \
290+
"%s=series number, " \
291+
"%t=time, " \
292+
"%u=acquisition number, " \
293+
"%v=vendor, " \
294+
"%x=study ID; " \
295+
"%z=sequence name)")
279296
output_dir = Directory(
280297
".",
281298
usedefault=True,
@@ -320,7 +337,7 @@ class Dcm2niixInputSpec(CommandLineInputSpec):
320337
False,
321338
argstr='-t',
322339
usedefault=True,
323-
desc="Flag if text notes includes private patient details")
340+
desc="Flag if text notes include private patient details")
324341
compression = traits.Enum(
325342
1, 2, 3, 4, 5, 6, 7, 8, 9,
326343
argstr='-%d',

0 commit comments

Comments
 (0)