ENH: give a short definition of rank order in docstring

This commit is contained in:
emmanuelle
2011-10-08 19:31:25 +02:00
parent 7d420da594
commit 724733f1d6
+3 -2
View File
@@ -11,8 +11,9 @@ Original author: Lee Kamentstky
import numpy
def rank_order(image):
"""Return an image of the same shape where each pixel has the
rank-order value of the corresponding pixel in the image.
"""Return an image of the same shape where each pixel is the
index of the pixel value in the ascending order of the unique
values of `image`, aka the rank-order value.
Parameters
----------