Skip to content

Commit

Permalink
DOC: Clarify return type of apply_transforms (#644)
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpa authored May 20, 2024
1 parent 524d5d5 commit 7d876d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ants/ops/resample_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def resample_image_to_target(image, target, interp_type='linear', imagetype=0, v
image to resample
target : ANTsImage
image of reference, the output will be in this space
image of reference, the output will be in this space and will have the same pixel type.
interp_type : string
Choice of interpolator. Supports partial matching.
Expand Down
3 changes: 2 additions & 1 deletion ants/registration/apply_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ def apply_transforms(fixed, moving, transformlist,
Arguments
---------
fixed : ANTsImage
fixed image defining domain into which the moving image is transformed.
fixed image defining domain into which the moving image is transformed. The output will
have the same pixel type as this image.
moving : AntsImage
moving image to be mapped to fixed space.
Expand Down

0 comments on commit 7d876d8

Please sign in to comment.