Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix stdev calculation

  • Loading branch information...
commit 167e76193103cda0d1654930cb6f7800b769d03b 1 parent 7ce8da8
@cyberdelia authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  metrology/instruments/histogram.py
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.