We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
commons.resample_img_to_img
1 parent 0806285 commit e262c06Copy full SHA for e262c06
siibra/commons.py
@@ -536,7 +536,9 @@ def resample_img_to_img(
536
resampled_img = resample_to_img(
537
source_img=source_img,
538
target_img=target_img,
539
- interpolation=interpolation
+ interpolation=interpolation,
540
+ force_resample=True, # False is intended for testing. see nilearn docs
541
+ copy_header=True, # New default behaviour as of nilearn v0.13.0
542
)
543
return resampled_img
544
0 commit comments