summaryrefslogtreecommitdiff
path: root/basetypes.py
diff options
context:
space:
mode:
authorJohn Glover <john@john-glovers-macbook.local>2010-12-24 17:59:00 +0000
committerJohn Glover <john@john-glovers-macbook.local>2010-12-24 17:59:00 +0000
commitdc94bf68c2dc95d18025a61fb1afdd28f9a6c2b2 (patch)
tree9a6a5b33e87e4fde824ba451a725cd4bdb05b286 /basetypes.py
parent0aaf61396643d7884b792b6d1a053c7dae7390b2 (diff)
downloadsimpl-dc94bf68c2dc95d18025a61fb1afdd28f9a6c2b2.tar.gz
simpl-dc94bf68c2dc95d18025a61fb1afdd28f9a6c2b2.tar.bz2
simpl-dc94bf68c2dc95d18025a61fb1afdd28f9a6c2b2.zip
Upgraded MQPartialTracking to simpl 0.2
Diffstat (limited to 'basetypes.py')
-rw-r--r--basetypes.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/basetypes.py b/basetypes.py
index 0564697..bcad0a0 100644
--- a/basetypes.py
+++ b/basetypes.py
@@ -20,9 +20,9 @@ import numpy as np
class Peak(object):
"A spectral peak"
def __init__(self):
- self.amplitude = 0
- self.frequency = 0
- self.phase = 0
+ self.amplitude = 0.0
+ self.frequency = 0.0
+ self.phase = 0.0
self.next_peak = None
self.previous_peak = None
self.partial_id = None