Commit 242e8ea9 authored by Pierre Paleo's avatar Pierre Paleo
Browse files

Fix numpy docstring in padding.py

parent 063ee4be
......@@ -10,8 +10,8 @@ def pad_interpolate(im, padded_img_shape_vh, translation_vh=None, padding_mode="
The values are translated: if a feature appear at x in the original image it will appear at pad+translation+x
in the final image.
Parameters:
-----------
Parameters
------------
im: np.ndaray
the input image
translation_vh: a sequence of two float
......@@ -58,14 +58,14 @@ def recut(im, new_shape_vh):
This method implements a centered cut which reverts the centered padding
applied in the present class.
Parameters:
Parameters
-----------
im: np.ndarray
A 2D image.
new_shape_vh: tuple
The shape of the cutted image.
Returns:
Returns
--------
The image cutted to new_shape_vh.
"""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment