Fix shape format of arrays in doc strings

This commit is contained in:
Johannes Schönberger
2012-08-26 00:16:52 +02:00
parent 32afefef23
commit 4fe9f39c45
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ def threshold_adaptive(image, block_size, method='gaussian', offset=0,
Parameters
----------
image : NxM ndarray
image : (N, M) ndarray
Input image.
block_size : int
Uneven size of pixel neighborhood which is used to calculate the
@@ -45,7 +45,7 @@ def threshold_adaptive(image, block_size, method='gaussian', offset=0,
Returns
-------
threshold : NxM ndarray
threshold : (N, M) ndarray
Thresholded binary image
References
+1 -1
View File
@@ -100,7 +100,7 @@ def iradon(radon_image, theta=None, output_size=None,
the image corresponds to a projection along a different angle.
theta : array_like, dtype=float, optional
Reconstruction angles (in degrees). Default: m angles evenly spaced
between 0 and 180 (if the shape of `radon_image` is nxm)
between 0 and 180 (if the shape of `radon_image` is (N, M)).
output_size : int
Number of rows and columns in the reconstruction.
filter : str, optional (default ramp)