Commit 699c5167 authored by Christoph Arthofer's avatar Christoph Arthofer
Browse files

added use_mask_mov to config

parent 33470646
...@@ -53,6 +53,7 @@ def writeConfig(step,mod,fpath): ...@@ -53,6 +53,7 @@ def writeConfig(step,mod,fpath):
'; Whole-head T1 \n' \ '; Whole-head T1 \n' \
'use_implicit_mask = 0 \n' \ 'use_implicit_mask = 0 \n' \
'use_mask_ref_scalar = 1 1 \n' \ 'use_mask_ref_scalar = 1 1 \n' \
'use_mask_mov_scalar = 0 0 \n' \
'fwhm_ref_scalar = 8.0 8.0 \n' \ 'fwhm_ref_scalar = 8.0 8.0 \n' \
'fwhm_mov_scalar = 8.0 8.0 \n' \ 'fwhm_mov_scalar = 8.0 8.0 \n' \
'lambda_scalar = 1 1 \n' \ 'lambda_scalar = 1 1 \n' \
...@@ -64,6 +65,7 @@ def writeConfig(step,mod,fpath): ...@@ -64,6 +65,7 @@ def writeConfig(step,mod,fpath):
'; Whole-head T2 \n' \ '; Whole-head T2 \n' \
'use_implicit_mask = 0 \n' \ 'use_implicit_mask = 0 \n' \
'use_mask_ref_scalar = 0 0 \n' \ 'use_mask_ref_scalar = 0 0 \n' \
'use_mask_mov_scalar = 0 0 \n' \
'fwhm_ref_scalar = 8.0 8.0 \n' \ 'fwhm_ref_scalar = 8.0 8.0 \n' \
'fwhm_mov_scalar = 8.0 8.0 \n' \ 'fwhm_mov_scalar = 8.0 8.0 \n' \
'lambda_scalar = 1 1 \n' \ 'lambda_scalar = 1 1 \n' \
...@@ -74,6 +76,7 @@ def writeConfig(step,mod,fpath): ...@@ -74,6 +76,7 @@ def writeConfig(step,mod,fpath):
s += '\n' \ s += '\n' \
'; DTI \n' \ '; DTI \n' \
'use_mask_ref_tensor = 0 0 \n' \ 'use_mask_ref_tensor = 0 0 \n' \
'use_mask_mov_tensor = 0 0 \n' \
'fwhm_ref_tensor = 8.0 8.0 \n' \ 'fwhm_ref_tensor = 8.0 8.0 \n' \
'fwhm_mov_tensor = 8.0 8.0 \n' \ 'fwhm_mov_tensor = 8.0 8.0 \n' \
'lambda_tensor = 1 1 \n' 'lambda_tensor = 1 1 \n'
...@@ -90,6 +93,7 @@ def writeConfig(step,mod,fpath): ...@@ -90,6 +93,7 @@ def writeConfig(step,mod,fpath):
'; Whole-head T1 \n' \ '; Whole-head T1 \n' \
'use_implicit_mask = 0 \n' \ 'use_implicit_mask = 0 \n' \
'use_mask_ref_scalar = 1 1 1 \n' \ 'use_mask_ref_scalar = 1 1 1 \n' \
'use_mask_mov_scalar = 0 0 0 \n' \
'fwhm_ref_scalar = 8.0 8.0 4.0 \n' \ 'fwhm_ref_scalar = 8.0 8.0 4.0 \n' \
'fwhm_mov_scalar = 8.0 8.0 4.0 \n' \ 'fwhm_mov_scalar = 8.0 8.0 4.0 \n' \
'lambda_scalar = 1 1 1 \n' \ 'lambda_scalar = 1 1 1 \n' \
...@@ -101,6 +105,7 @@ def writeConfig(step,mod,fpath): ...@@ -101,6 +105,7 @@ def writeConfig(step,mod,fpath):
'; Whole-head T2 \n' \ '; Whole-head T2 \n' \
'use_implicit_mask = 0 \n' \ 'use_implicit_mask = 0 \n' \
'use_mask_ref_scalar = 0 0 0 \n' \ 'use_mask_ref_scalar = 0 0 0 \n' \
'use_mask_mov_scalar = 0 0 0 \n' \
'fwhm_ref_scalar = 8.0 8.0 4.0 \n' \ 'fwhm_ref_scalar = 8.0 8.0 4.0 \n' \
'fwhm_mov_scalar = 8.0 8.0 4.0 \n' \ 'fwhm_mov_scalar = 8.0 8.0 4.0 \n' \
'lambda_scalar = 1 1 1 \n' \ 'lambda_scalar = 1 1 1 \n' \
...@@ -111,6 +116,7 @@ def writeConfig(step,mod,fpath): ...@@ -111,6 +116,7 @@ def writeConfig(step,mod,fpath):
s += '\n' \ s += '\n' \
'; DTI \n' \ '; DTI \n' \
'use_mask_ref_tensor = 0 0 0 \n' \ 'use_mask_ref_tensor = 0 0 0 \n' \
'use_mask_mov_tensor = 0 0 0 \n' \
'fwhm_ref_tensor = 8.0 8.0 4.0 \n' \ 'fwhm_ref_tensor = 8.0 8.0 4.0 \n' \
'fwhm_mov_tensor = 8.0 8.0 4.0 \n' \ 'fwhm_mov_tensor = 8.0 8.0 4.0 \n' \
'lambda_tensor = 1 1 1 \n' 'lambda_tensor = 1 1 1 \n'
...@@ -127,6 +133,7 @@ def writeConfig(step,mod,fpath): ...@@ -127,6 +133,7 @@ def writeConfig(step,mod,fpath):
'; Whole-head T1 \n' \ '; Whole-head T1 \n' \
'use_implicit_mask = 0 \n' \ 'use_implicit_mask = 0 \n' \
'use_mask_ref_scalar = 1 1 1 1 \n' \ 'use_mask_ref_scalar = 1 1 1 1 \n' \
'use_mask_mov_scalar = 0 0 0 0 \n' \
'fwhm_ref_scalar = 8.0 8.0 4.0 2.0 \n' \ 'fwhm_ref_scalar = 8.0 8.0 4.0 2.0 \n' \
'fwhm_mov_scalar = 8.0 8.0 4.0 2.0 \n' \ 'fwhm_mov_scalar = 8.0 8.0 4.0 2.0 \n' \
'lambda_scalar = 1 1 1 1 \n' \ 'lambda_scalar = 1 1 1 1 \n' \
...@@ -138,6 +145,7 @@ def writeConfig(step,mod,fpath): ...@@ -138,6 +145,7 @@ def writeConfig(step,mod,fpath):
'; Whole-head T2 \n' \ '; Whole-head T2 \n' \
'use_implicit_mask = 0 \n' \ 'use_implicit_mask = 0 \n' \
'use_mask_ref_scalar = 0 0 0 0 \n' \ 'use_mask_ref_scalar = 0 0 0 0 \n' \
'use_mask_mov_scalar = 0 0 0 0 \n' \
'fwhm_ref_scalar = 8.0 8.0 4.0 2.0 \n' \ 'fwhm_ref_scalar = 8.0 8.0 4.0 2.0 \n' \
'fwhm_mov_scalar = 8.0 8.0 4.0 2.0 \n' \ 'fwhm_mov_scalar = 8.0 8.0 4.0 2.0 \n' \
'lambda_scalar = 1 1 1 1 \n' \ 'lambda_scalar = 1 1 1 1 \n' \
...@@ -148,6 +156,7 @@ def writeConfig(step,mod,fpath): ...@@ -148,6 +156,7 @@ def writeConfig(step,mod,fpath):
s += '\n' \ s += '\n' \
'; DTI \n' \ '; DTI \n' \
'use_mask_ref_tensor = 0 0 0 0 \n' \ 'use_mask_ref_tensor = 0 0 0 0 \n' \
'use_mask_mov_tensor = 0 0 0 0 \n' \
'fwhm_ref_tensor = 8.0 8.0 4.0 2.0 \n' \ 'fwhm_ref_tensor = 8.0 8.0 4.0 2.0 \n' \
'fwhm_mov_tensor = 8.0 8.0 4.0 2.0 \n' \ 'fwhm_mov_tensor = 8.0 8.0 4.0 2.0 \n' \
'lambda_tensor = 1 1 1 1 \n' 'lambda_tensor = 1 1 1 1 \n'
...@@ -164,6 +173,7 @@ def writeConfig(step,mod,fpath): ...@@ -164,6 +173,7 @@ def writeConfig(step,mod,fpath):
'; Whole-head T1 \n' \ '; Whole-head T1 \n' \
'use_implicit_mask = 0 \n' \ 'use_implicit_mask = 0 \n' \
'use_mask_ref_scalar = 1 1 1 1 1 \n' \ 'use_mask_ref_scalar = 1 1 1 1 1 \n' \
'use_mask_mov_scalar = 0 0 0 0 0 \n' \
'fwhm_ref_scalar = 8.0 8.0 4.0 2.0 1.0 \n' \ 'fwhm_ref_scalar = 8.0 8.0 4.0 2.0 1.0 \n' \
'fwhm_mov_scalar = 8.0 8.0 4.0 2.0 1.0 \n' \ 'fwhm_mov_scalar = 8.0 8.0 4.0 2.0 1.0 \n' \
'lambda_scalar = 1 1 1 1 1 \n' \ 'lambda_scalar = 1 1 1 1 1 \n' \
...@@ -175,6 +185,7 @@ def writeConfig(step,mod,fpath): ...@@ -175,6 +185,7 @@ def writeConfig(step,mod,fpath):
'; Whole-head T2 \n' \ '; Whole-head T2 \n' \
'use_implicit_mask = 0 \n' \ 'use_implicit_mask = 0 \n' \
'use_mask_ref_scalar = 0 0 0 0 0 \n' \ 'use_mask_ref_scalar = 0 0 0 0 0 \n' \
'use_mask_mov_scalar = 0 0 0 0 0 \n' \
'fwhm_ref_scalar = 8.0 8.0 4.0 2.0 1.0 \n' \ 'fwhm_ref_scalar = 8.0 8.0 4.0 2.0 1.0 \n' \
'fwhm_mov_scalar = 8.0 8.0 4.0 2.0 1.0 \n' \ 'fwhm_mov_scalar = 8.0 8.0 4.0 2.0 1.0 \n' \
'lambda_scalar = 1 1 1 1 1 \n' \ 'lambda_scalar = 1 1 1 1 1 \n' \
...@@ -185,6 +196,7 @@ def writeConfig(step,mod,fpath): ...@@ -185,6 +196,7 @@ def writeConfig(step,mod,fpath):
s += '\n'\ s += '\n'\
'; DTI \n' \ '; DTI \n' \
'use_mask_ref_tensor = 0 0 0 0 0 \n' \ 'use_mask_ref_tensor = 0 0 0 0 0 \n' \
'use_mask_mov_tensor = 0 0 0 0 0 \n' \
'fwhm_ref_tensor = 8.0 8.0 4.0 2.0 1.0 \n' \ 'fwhm_ref_tensor = 8.0 8.0 4.0 2.0 1.0 \n' \
'fwhm_mov_tensor = 8.0 8.0 4.0 2.0 1.0 \n' \ 'fwhm_mov_tensor = 8.0 8.0 4.0 2.0 1.0 \n' \
'lambda_tensor = 1 1 1 1 1 \n' 'lambda_tensor = 1 1 1 1 1 \n'
...@@ -201,6 +213,7 @@ def writeConfig(step,mod,fpath): ...@@ -201,6 +213,7 @@ def writeConfig(step,mod,fpath):
'; Whole-head T1 \n' \ '; Whole-head T1 \n' \
'use_implicit_mask = 0 \n' \ 'use_implicit_mask = 0 \n' \
'use_mask_ref_scalar = 1 1 1 1 1 1 \n' \ 'use_mask_ref_scalar = 1 1 1 1 1 1 \n' \
'use_mask_mov_scalar = 0 0 0 0 0 0 \n' \
'fwhm_ref_scalar = 8.0 8.0 4.0 2.0 1.0 0.5 \n' \ 'fwhm_ref_scalar = 8.0 8.0 4.0 2.0 1.0 0.5 \n' \
'fwhm_mov_scalar = 8.0 8.0 4.0 2.0 1.0 0.5 \n' \ 'fwhm_mov_scalar = 8.0 8.0 4.0 2.0 1.0 0.5 \n' \
'lambda_scalar = 1 1 1 1 1 1 \n' \ 'lambda_scalar = 1 1 1 1 1 1 \n' \
...@@ -212,6 +225,7 @@ def writeConfig(step,mod,fpath): ...@@ -212,6 +225,7 @@ def writeConfig(step,mod,fpath):
'; Whole-head T2 \n' \ '; Whole-head T2 \n' \
'use_implicit_mask = 0 \n' \ 'use_implicit_mask = 0 \n' \
'use_mask_ref_scalar = 0 0 0 0 0 0 \n' \ 'use_mask_ref_scalar = 0 0 0 0 0 0 \n' \
'use_mask_mov_scalar = 0 0 0 0 0 0 \n' \
'fwhm_ref_scalar = 8.0 8.0 4.0 2.0 1.0 0.5 \n' \ 'fwhm_ref_scalar = 8.0 8.0 4.0 2.0 1.0 0.5 \n' \
'fwhm_mov_scalar = 8.0 8.0 4.0 2.0 1.0 0.5 \n' \ 'fwhm_mov_scalar = 8.0 8.0 4.0 2.0 1.0 0.5 \n' \
'lambda_scalar = 1 1 1 1 1 1 \n' \ 'lambda_scalar = 1 1 1 1 1 1 \n' \
...@@ -222,6 +236,7 @@ def writeConfig(step,mod,fpath): ...@@ -222,6 +236,7 @@ def writeConfig(step,mod,fpath):
s += '\n' \ s += '\n' \
'; DTI \n' \ '; DTI \n' \
'use_mask_ref_tensor = 0 0 0 0 0 0 \n' \ 'use_mask_ref_tensor = 0 0 0 0 0 0 \n' \
'use_mask_mov_tensor = 0 0 0 0 0 0 \n' \
'fwhm_ref_tensor = 8.0 8.0 4.0 2.0 1.0 0.5 \n' \ 'fwhm_ref_tensor = 8.0 8.0 4.0 2.0 1.0 0.5 \n' \
'fwhm_mov_tensor = 8.0 8.0 4.0 2.0 1.0 0.5 \n' \ 'fwhm_mov_tensor = 8.0 8.0 4.0 2.0 1.0 0.5 \n' \
'lambda_tensor = 1 1 1 1 1 1 \n' 'lambda_tensor = 1 1 1 1 1 1 \n'
...@@ -238,6 +253,7 @@ def writeConfig(step,mod,fpath): ...@@ -238,6 +253,7 @@ def writeConfig(step,mod,fpath):
'; Whole-head T1 \n' \ '; Whole-head T1 \n' \
'use_implicit_mask = 0 \n' \ 'use_implicit_mask = 0 \n' \
'use_mask_ref_scalar = 1 1 1 1 1 1 1 \n' \ 'use_mask_ref_scalar = 1 1 1 1 1 1 1 \n' \
'use_mask_mov_scalar = 0 0 0 0 0 0 0 \n' \
'fwhm_ref_scalar = 8.0 8.0 4.0 2.0 1.0 0.5 0.25 \n' \ 'fwhm_ref_scalar = 8.0 8.0 4.0 2.0 1.0 0.5 0.25 \n' \
'fwhm_mov_scalar = 8.0 8.0 4.0 2.0 1.0 0.5 0.25 \n' \ 'fwhm_mov_scalar = 8.0 8.0 4.0 2.0 1.0 0.5 0.25 \n' \
'lambda_scalar = 1 1 1 1 1 1 1 \n' \ 'lambda_scalar = 1 1 1 1 1 1 1 \n' \
...@@ -249,6 +265,7 @@ def writeConfig(step,mod,fpath): ...@@ -249,6 +265,7 @@ def writeConfig(step,mod,fpath):
'; Whole-head T2 \n' \ '; Whole-head T2 \n' \
'use_implicit_mask = 0 \n' \ 'use_implicit_mask = 0 \n' \
'use_mask_ref_scalar = 0 0 0 0 0 0 0 \n' \ 'use_mask_ref_scalar = 0 0 0 0 0 0 0 \n' \
'use_mask_mov_scalar = 0 0 0 0 0 0 0 \n' \
'fwhm_ref_scalar = 8.0 8.0 4.0 2.0 1.0 0.5 0.25 \n' \ 'fwhm_ref_scalar = 8.0 8.0 4.0 2.0 1.0 0.5 0.25 \n' \
'fwhm_mov_scalar = 8.0 8.0 4.0 2.0 1.0 0.5 0.25 \n' \ 'fwhm_mov_scalar = 8.0 8.0 4.0 2.0 1.0 0.5 0.25 \n' \
'lambda_scalar = 1 1 1 1 1 1 1 \n' \ 'lambda_scalar = 1 1 1 1 1 1 1 \n' \
...@@ -259,6 +276,7 @@ def writeConfig(step,mod,fpath): ...@@ -259,6 +276,7 @@ def writeConfig(step,mod,fpath):
s += '\n' \ s += '\n' \
'; DTI \n' \ '; DTI \n' \
'use_mask_ref_tensor = 0 0 0 0 0 0 0 \n' \ 'use_mask_ref_tensor = 0 0 0 0 0 0 0 \n' \
'use_mask_mov_tensor = 0 0 0 0 0 0 0 \n' \
'fwhm_ref_tensor = 8.0 8.0 4.0 2.0 1.0 0.5 0.25 \n' \ 'fwhm_ref_tensor = 8.0 8.0 4.0 2.0 1.0 0.5 0.25 \n' \
'fwhm_mov_tensor = 8.0 8.0 4.0 2.0 1.0 0.5 0.25 \n' \ 'fwhm_mov_tensor = 8.0 8.0 4.0 2.0 1.0 0.5 0.25 \n' \
'lambda_tensor = 1 1 1 1 1 1 1 \n' 'lambda_tensor = 1 1 1 1 1 1 1 \n'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment