Skip to content

Commit 31a1cde

Browse files
authored
Merge pull request #2512 from yarikoptic/bf-minor-desc
DOC: Add details for dcm2niix output filename pattern
2 parents 803982c + 230ec4b commit 31a1cde

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

nipype/interfaces/dcm2nii.py

+19-2
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)