From e9b8645ee67e58fb322354f663744279b667dfa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Sun, 26 Aug 2012 00:29:18 +0200 Subject: [PATCH] Fix parameter format in doc string of peak_local_max --- skimage/feature/peak.py | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/skimage/feature/peak.py b/skimage/feature/peak.py index 57eb3bb7..4765974e 100644 --- a/skimage/feature/peak.py +++ b/skimage/feature/peak.py @@ -15,21 +15,16 @@ def peak_local_max(image, min_distance=10, threshold='deprecated', Parameters ---------- - image: ndarray of floats + image : ndarray of floats Input image. - - min_distance: int + min_distance : int Minimum number of pixels separating peaks and image boundary. - threshold : float Deprecated. See `threshold_rel`. - - threshold_abs: float + threshold_abs : float Minimum intensity of peaks. - - threshold_rel: float + threshold_rel : float Minimum intensity of peaks calculated as `max(image) * threshold_rel`. - num_peaks : int Maximum number of peaks. When the number of peaks exceeds `num_peaks`, return `num_peaks` coordinates based on peak intensity.