Skip to content

Commit

Permalink
added halfrobustreg (#273)
Browse files Browse the repository at this point in the history
* added halfrobustreg
  • Loading branch information
davidmeunier79 authored Nov 26, 2024
1 parent eac7fa0 commit 288f38d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions macapype/utils/utils_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,19 @@ def update_preparation_params(ssoft=[], subjects=None, sessions=None,
"smoo_r_val": 1.0
}
}
elif "halfrobustreg" in ssoft and "crop_aladin_pipe" \
in params["short_preparation_pipe"]:
print("Using halfrobustreg option")
params["short_preparation_pipe"]["crop_aladin_pipe"] = {
"reg_T1_on_template": {
"nac_flag": True,
"rig_only_flag": True,
"nosym_flag": True,
"ln_val": 12,
"lp_val": 10,
"smoo_r_val": 1.0
}
}
return params, indiv_params, extra_wf_name

if prep_pipe == "short_preparation_pipe":
Expand Down

0 comments on commit 288f38d

Please sign in to comment.