Skip to content

Commit

Permalink
ANTs composite transform [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
bclenet committed Oct 20, 2023
1 parent 818de15 commit 735d2f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions narps_open/pipelines/team_08MQ.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ def get_preprocessing(self):
normalization_anat.inputs.radius_or_number_of_bins = [32, 32, 4]
normalization_anat.inputs.sampling_percentage = [0.25, 0.25, 1]
normalization_anat.inputs.sampling_strategy = ['Regular', 'Regular', 'None']

normalization_anat.inputs.transforms = ['Rigid', 'Affine', 'SyN']
normalization_anat.inputs.metric = ['MI', 'MI', 'CC']
normalization_anat.inputs.transform_parameters = [(0.1,), (0.1,), (0.1, 3.0, 0.0)]
Expand Down Expand Up @@ -259,7 +258,7 @@ def get_preprocessing(self):
(coregistration_sbref, alignment_func_to_anat, [('out_matrix_file', 'in_matrix_file')]),
(brain_extraction_anat, alignment_func_to_anat, [('out_file', 'reference')]),
(alignment_func_to_anat, alignment_func_to_mni, [('out_file', 'in_file')]),
(normalization_anat, alignment_func_to_mni, [('forward_transforms', 'field_file')]),
(normalization_anat, alignment_func_to_mni, [('composite_transform', 'field_file')]),
(merge_masks, compute_confounds, [('out', 'mask_files')]), # Masks are in the func space
(slice_time_correction, compute_confounds, [('slice_time_corrected_file', 'realigned_file')]),

Expand Down

0 comments on commit 735d2f7

Please sign in to comment.