Permalink
Browse files

fix stdev calculation

  • Loading branch information...
1 parent 7ce8da8 commit 167e76193103cda0d1654930cb6f7800b769d03b @cyberdelia committed Mar 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 metrology/instruments/histogram.py
@@ -89,7 +89,7 @@ def mean(self):
def stddev(self):
"""Returns the standard deviation."""
if self.counter.value > 0:
- return self.variance
+ return self.variance ** .5
return 0.0
@property

0 comments on commit 167e761

Please sign in to comment.