From df87cbc1b1aa43f5b15d1b058fe7312c7fa95e1b Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 19 May 2010 04:39:04 -0400 Subject: [PATCH] Added default name to hooke.util.peak.mask_to_peaks --- hooke/util/peak.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooke/util/peak.py b/hooke/util/peak.py index f980267..0debbd0 100644 --- a/hooke/util/peak.py +++ b/hooke/util/peak.py @@ -71,7 +71,7 @@ class Peak (object): """ return self.index + len(self.values) -def mask_to_peaks(data, mask, name): +def mask_to_peaks(data, mask, name='peak'): """Convert a mask array to a list of :class:`Peak`\s. Parameters -- 2.26.2