File tree Expand file tree Collapse file tree 1 file changed +35
-1
lines changed
dmriprep/workflows/fieldmap Expand file tree Collapse file tree 1 file changed +35
-1
lines changed Original file line number Diff line number Diff line change
1
+ # -*- coding: utf-8 -*-
1
2
3
+ """
4
+ SDC using BrainSuite
5
+ ^^^^^^^^^^^^^^^^^^^^
2
6
3
- # bfc -i $indir2/brain.nii.gz -o T1.bfc.nii.gz -v 1 -L 0.5 -U 1.5
7
+ .. autofunction:: init_brainsuite_wf
8
+
9
+ """
10
+
11
+ from nipype .pipeline import engine as pe
12
+ from nipype .interfaces import brainsuite , utility as niu
13
+
14
+ def init_fmap_wf ():
15
+
16
+ wf = pe .Workflow (name = 'brainsuite_wf' )
17
+
18
+ inputnode = pe .Node (
19
+ niu .IdentityInterface (
20
+ fields = [
21
+ 'T1w' ,
22
+ 'T1w_mask' ,
23
+ 'dwi_file' ,
24
+ 'dwi_mask' ]),
25
+ name = 'inputnode' )
26
+
27
+ outputnode = pe .Node (
28
+ niu .IdentityInterface (fields = ['out_fmap' ]), name = 'outputnode'
29
+ )
30
+
31
+ bias_corr = pe .Node (brainsuite .Bfc (minBias = 0.5 , maxBias = 1.5 ), name = 'bias_corr' )
32
+
33
+ bdp = pe .Node (brainsuite .BDP (), name = 'bdp' )
34
+
35
+ wf .connect ([])
36
+
37
+ # bfc -i $indir2/brain.nii.gz -o T1.bfc.nii.gz
4
38
5
39
# /KIMEL/tigrlab/quarantine/brainsuite/18a/build/bdp/bdp.sh \
6
40
# T1.bfc.nii.gz \
You can’t perform that action at this time.
0 commit comments