Skip to content

Commit 0f03d75

Browse files
committed
Change resting state example scripts to use linear interpolation.
1 parent e371323 commit 0f03d75

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/rsfmri_vol_surface_preprocessing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ def create_reg_workflow(name='registration'):
542542

543543
warpmean = Node(ants.ApplyTransforms(), name='warpmean')
544544
warpmean.inputs.input_image_type = 3
545-
warpmean.inputs.interpolation = 'BSpline'
545+
warpmean.inputs.interpolation = 'Linear'
546546
warpmean.inputs.invert_transform_flags = [False, False]
547547
warpmean.inputs.terminal_output = 'file'
548548
warpmean.inputs.args = '--float'
@@ -771,7 +771,7 @@ def merge_files(in1, in2):
771771
warpall = MapNode(ants.ApplyTransforms(), iterfield=['input_image'],
772772
name='warpall')
773773
warpall.inputs.input_image_type = 3
774-
warpall.inputs.interpolation = 'BSpline'
774+
warpall.inputs.interpolation = 'Linear'
775775
warpall.inputs.invert_transform_flags = [False, False]
776776
warpall.inputs.terminal_output = 'file'
777777
warpall.inputs.reference_image = target_file

examples/rsfmri_vol_surface_preprocessing_nipy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ def create_reg_workflow(name='registration'):
526526
"""
527527
warpmean = Node(ants.ApplyTransforms(), name='warpmean')
528528
warpmean.inputs.input_image_type = 3
529-
warpmean.inputs.interpolation = 'BSpline'
529+
warpmean.inputs.interpolation = 'Linear'
530530
warpmean.inputs.invert_transform_flags = [False, False]
531531
warpmean.inputs.terminal_output = 'file'
532532
warpmean.inputs.args = '--float'
@@ -749,7 +749,7 @@ def merge_files(in1, in2):
749749
warpall = MapNode(ants.ApplyTransforms(), iterfield=['input_image'],
750750
name='warpall')
751751
warpall.inputs.input_image_type = 3
752-
warpall.inputs.interpolation = 'BSpline'
752+
warpall.inputs.interpolation = 'Linear'
753753
warpall.inputs.invert_transform_flags = [False, False]
754754
warpall.inputs.terminal_output = 'file'
755755
warpall.inputs.reference_image = target_file

0 commit comments

Comments
 (0)