projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4903fb9
)
Added default name to hooke.util.peak.mask_to_peaks
author
W. Trevor King
<wking@drexel.edu>
Wed, 19 May 2010 08:39:04 +0000
(
04:39
-0400)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 19 May 2010 08:39:04 +0000
(
04:39
-0400)
hooke/util/peak.py
patch
|
blob
|
history
diff --git
a/hooke/util/peak.py
b/hooke/util/peak.py
index f980267390d1d5211d5f63b4f69188bd368a6fb1..0debbd0970824a58ba4dde12ea9b1ed03665c529 100644
(file)
--- 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