From: W. Trevor King Date: Wed, 19 May 2010 08:39:04 +0000 (-0400) Subject: Added default name to hooke.util.peak.mask_to_peaks X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=df87cbc1b1aa43f5b15d1b058fe7312c7fa95e1b;p=hooke.git Added default name to hooke.util.peak.mask_to_peaks --- 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