Skip to content

Commit 4ea3117

Browse files
committed
Update README.md
1 parent 68e7fd2 commit 4ea3117

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,26 @@ wf.connect(fmap_wf, 'outputnode.echospacing', epireg, 'echospacing')
6565
wf.connect(fmap_wf, 'outputnode.pedir', epireg, 'pedir')
6666
```
6767

68+
### From the command line
69+
70+
```bash
71+
$ nipype-generate-fieldmaps --help
72+
usage: nipype-generate-fieldmaps [-h] [-v] se_epi_pe1 se_epi_pe2 se_epi_pe1_sidecar se_epi_pe2_sidecar out_dir
73+
74+
Generate fieldmaps from EPI acquisitions with differing phase-encoding directions
75+
76+
positional arguments:
77+
se_epi_pe1 The spin-echo EPI file acquired in the 'first' phase-encoding direction
78+
se_epi_pe2 The spin-echo EPI file acquired in the 'second' phase-encoding direction
79+
se_epi_pe1_sidecar The JSON sidecar for the first spin-echo EPI file
80+
se_epi_pe2_sidecar The JSON sidecar for the second spin-echo EPI file
81+
out_dir The directory into which outputs are written
82+
83+
optional arguments:
84+
-h, --help show this help message and exit
85+
-v, --version show program's version number and exit
86+
```
87+
6888
## Prerequisites
6989
7090
This workflow has a few requirements:

0 commit comments

Comments
 (0)