From 81c01eac0fb332d7ceeb94226ab03b1fea3797fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Sun, 9 Dec 2012 17:39:15 +0100 Subject: [PATCH] Fix confused parameters in doc string of peak_local_max --- skimage/feature/peak.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skimage/feature/peak.py b/skimage/feature/peak.py index 4ff70be1..4b0f6b4f 100644 --- a/skimage/feature/peak.py +++ b/skimage/feature/peak.py @@ -50,8 +50,8 @@ def peak_local_max(image, min_distance=10, threshold_abs=0, threshold_rel=0.1, Returns ------- output : (N, 2) array or ndarray of bools - If `exclude_border = True` : (row, column) coordinates of peaks. - If `exclude_border = False` : Boolean array shaped like `image`, + If `indices = True` : (row, column) coordinates of peaks. + If `indices = False` : Boolean array shaped like `image`, with peaks represented by True values. Notes