Skip to content

Commit

Permalink
Update dcan_bold_proc.py
Browse files Browse the repository at this point in the history
pass brain radius to filtered_movement_regressors and dcan_signal_processing
  • Loading branch information
madisoth authored Sep 21, 2024
1 parent 6c0d853 commit a3a14c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dcan_bold_proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ def interface(subject, output_folder, task=None, fd_threshold=None,
input_spec['movement_regressors'], str(repetition_time),
str(motion_filter_option), str(motion_filter_order),
str(band_stop_min), motion_filter_type, str(band_stop_min),
str(band_stop_max), filtered_movement_regressors]
str(band_stop_max), str(brain_radius), filtered_movement_regressors]

subprocess.call(cmd)
# update input movement regressors
Expand Down Expand Up @@ -530,6 +530,7 @@ def interface(subject, output_folder, task=None, fd_threshold=None,
'motion_filename': os.path.basename(
output_spec['output_motion_numbers']),
'skip_seconds': skip_seconds,
'brain_radius_in_mm': brain_radius,
'result_dir': output_spec['result_dir']
}
# write input json for matlab script
Expand Down

0 comments on commit a3a14c1

Please sign in to comment.