Skip to content

Commit

Permalink
fill in missing doc string
Browse files Browse the repository at this point in the history
  • Loading branch information
ncullen93 committed Mar 13, 2024
1 parent 6fa9400 commit ff7413a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ants/utils/pad_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ def pad_image(image, shape=None, pad_width=None, value=0.0, return_padvals=False
dimension to match the largest existing dimension so that it
has isotropic dimension
pad_width : list of
pad_width : list of integers or list-of-list of integers
How much to pad in each direction. If a single list is
supplied (e.g., [4,4,4]), then the image will be padded by half
that amount on both sides. If a list-of-list is supplied
(e.g., [(0,4),(0,4),(0,4)]), then the image will be
padded unevenly on the different sides
pad_value : scalar
value with which image will be padded
Expand Down

0 comments on commit ff7413a

Please sign in to comment.