Skip to content

Commit 7b4b5d3

Browse files
authored
Merge pull request #116 from oesteban/enh/prepare-topup
MAINT: Add FLIRT config files to prepare for TOPUP integration
2 parents 071ae41 + 0df9ff1 commit 7b4b5d3

File tree

6 files changed

+131
-0
lines changed

6 files changed

+131
-0
lines changed

sdcflows/data/flirtsch/b02b0.cnf

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Resolution (knot-spacing) of warps in mm
2+
--warpres=20,16,14,12,10,6,4,4,4
3+
# Subsampling level (a value of 2 indicates that a 2x2x2 neighbourhood is collapsed to 1 voxel)
4+
--subsamp=2,2,2,2,2,1,1,1,1
5+
# FWHM of gaussian smoothing
6+
--fwhm=8,6,4,3,3,2,1,0,0
7+
# Maximum number of iterations
8+
--miter=5,5,5,5,5,10,10,20,20
9+
# Relative weight of regularisation
10+
--lambda=0.005,0.001,0.0001,0.000015,0.000005,0.0000005,0.00000005,0.0000000005,0.00000000001
11+
# If set to 1 lambda is multiplied by the current average squared difference
12+
--ssqlambda=1
13+
# Regularisation model
14+
--regmod=bending_energy
15+
# If set to 1 movements are estimated along with the field
16+
--estmov=1,1,1,1,1,0,0,0,0
17+
# 0=Levenberg-Marquardt, 1=Scaled Conjugate Gradient
18+
--minmet=0,0,0,0,0,1,1,1,1
19+
# Quadratic or cubic splines
20+
--splineorder=3
21+
# Precision for calculation and storage of Hessian
22+
--numprec=double
23+
# Linear or spline interpolation
24+
--interp=spline
25+
# If set to 1 the images are individually scaled to a common mean intensity
26+
--scale=1

sdcflows/data/flirtsch/b02b0_1.cnf

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Resolution (knot-spacing) of warps in mm
2+
--warpres=20,16,14,12,10,6,4,4,4
3+
# Subsampling level (a value of 2 indicates that a 2x2x2 neighbourhood is collapsed to 1 voxel)
4+
--subsamp=1,1,1,1,1,1,1,1,1
5+
# FWHM of gaussian smoothing
6+
--fwhm=8,6,4,3,3,2,1,0,0
7+
# Maximum number of iterations
8+
--miter=5,5,5,5,5,10,10,20,20
9+
# Relative weight of regularisation
10+
--lambda=0.0005,0.0001,0.00001,0.0000015,0.0000005,0.0000005,0.00000005,0.0000000005,0.00000000001
11+
# If set to 1 lambda is multiplied by the current average squared difference
12+
--ssqlambda=1
13+
# Regularisation model
14+
--regmod=bending_energy
15+
# If set to 1 movements are estimated along with the field
16+
--estmov=1,1,1,1,1,0,0,0,0
17+
# 0=Levenberg-Marquardt, 1=Scaled Conjugate Gradient
18+
--minmet=0,0,0,0,0,1,1,1,1
19+
# Quadratic or cubic splines
20+
--splineorder=3
21+
# Precision for calculation and storage of Hessian
22+
--numprec=double
23+
# Linear or spline interpolation
24+
--interp=spline
25+
# If set to 1 the images are individually scaled to a common mean intensity
26+
--scale=1

sdcflows/data/flirtsch/b02b0_2.cnf

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Resolution (knot-spacing) of warps in mm
2+
--warpres=20,16,14,12,10,6,4,4,4
3+
# Subsampling level (a value of 2 indicates that a 2x2x2 neighbourhood is collapsed to 1 voxel)
4+
--subsamp=2,2,2,2,2,1,1,1,1
5+
# FWHM of gaussian smoothing
6+
--fwhm=8,6,4,3,3,2,1,0,0
7+
# Maximum number of iterations
8+
--miter=5,5,5,5,5,10,10,20,20
9+
# Relative weight of regularisation
10+
--lambda=0.005,0.001,0.0001,0.000015,0.000005,0.0000005,0.00000005,0.0000000005,0.00000000001
11+
# If set to 1 lambda is multiplied by the current average squared difference
12+
--ssqlambda=1
13+
# Regularisation model
14+
--regmod=bending_energy
15+
# If set to 1 movements are estimated along with the field
16+
--estmov=1,1,1,1,1,0,0,0,0
17+
# 0=Levenberg-Marquardt, 1=Scaled Conjugate Gradient
18+
--minmet=0,0,0,0,0,1,1,1,1
19+
# Quadratic or cubic splines
20+
--splineorder=3
21+
# Precision for calculation and storage of Hessian
22+
--numprec=double
23+
# Linear or spline interpolation
24+
--interp=spline
25+
# If set to 1 the images are individually scaled to a common mean intensity
26+
--scale=1

sdcflows/data/flirtsch/b02b0_4.cnf

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Resolution (knot-spacing) of warps in mm
2+
--warpres=20,16,14,12,10,6,4,4,4
3+
# Subsampling level (a value of 2 indicates that a 2x2x2 neighbourhood is collapsed to 1 voxel)
4+
--subsamp=4,4,2,2,2,1,1,1,1
5+
# FWHM of gaussian smoothing
6+
--fwhm=8,6,4,3,3,2,1,0,0
7+
# Maximum number of iterations
8+
--miter=5,5,5,5,5,10,10,20,20
9+
# Relative weight of regularisation
10+
--lambda=0.035,0.006,0.0001,0.000015,0.000005,0.0000005,0.00000005,0.0000000005,0.00000000001
11+
# If set to 1 lambda is multiplied by the current average squared difference
12+
--ssqlambda=1
13+
# Regularisation model
14+
--regmod=bending_energy
15+
# If set to 1 movements are estimated along with the field
16+
--estmov=1,1,1,1,1,0,0,0,0
17+
# 0=Levenberg-Marquardt, 1=Scaled Conjugate Gradient
18+
--minmet=0,0,0,0,0,1,1,1,1
19+
# Quadratic or cubic splines
20+
--splineorder=3
21+
# Precision for calculation and storage of Hessian
22+
--numprec=double
23+
# Linear or spline interpolation
24+
--interp=spline
25+
# If set to 1 the images are individually scaled to a common mean intensity
26+
--scale=1
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Resolution (knot-spacing) of warps in mm
2+
--warpres=20,14,10
3+
# Subsampling level (a value of 2 indicates that a 2x2x2 neighbourhood is collapsed to 1 voxel)
4+
--subsamp=2,2,2
5+
# FWHM of gaussian smoothing
6+
--fwhm=8,2,1
7+
# Maximum number of iterations
8+
--miter=5,5,5
9+
# Relative weight of regularisation
10+
--lambda=0.005,0.000005,0.0000005
11+
# If set to 1 lambda is multiplied by the current average squared difference
12+
--ssqlambda=1
13+
# Regularisation model
14+
--regmod=bending_energy
15+
# If set to 1 movements are estimated along with the field
16+
--estmov=0,0,0
17+
# 0=Levenberg-Marquardt, 1=Scaled Conjugate Gradient
18+
--minmet=0,0,1
19+
# Quadratic or cubic splines
20+
--splineorder=3
21+
# Precision for calculation and storage of Hessian
22+
--numprec=double
23+
# Linear or spline interpolation
24+
--interp=spline
25+
# If set to 1 the images are individually scaled to a common mean intensity
26+
--scale=1

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ sdcflows =
6868
data/*.json
6969
data/*.nii.gz
7070
data/*.mat
71+
data/flirtsch/*.cnf
7172
VERSION
7273

7374
[options.entry_points]

0 commit comments

Comments
 (0)