From bbb427b9eab3e966c70c7142c1048c9fa9df6eb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Sun, 24 Jan 2016 11:03:04 +0100 Subject: [PATCH] Fix peak_local_max doctest --- skimage/feature/peak.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/feature/peak.py b/skimage/feature/peak.py index 8aaf9119..76f27a76 100644 --- a/skimage/feature/peak.py +++ b/skimage/feature/peak.py @@ -3,7 +3,7 @@ import scipy.ndimage as ndi from ..filters import rank_order -def peak_local_max(image, min_distance=1, threshold_abs=None, +def peak_local_max(image, min_distance=1, threshold_abs=0, threshold_rel=None, exclude_border=True, indices=True, num_peaks=np.inf, footprint=None, labels=None): """Find peaks in an image as coordinate list or boolean mask.