Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ calculate_stats
Method
calculate_stats
tools/python/InstrumentsTraceParser.py:47–50 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
45
46
47
def
calculate_stats(self):
48
self.mean = numpy.mean(self.averages)
49
self.std = numpy.std(self.averages)
50
self.avg = sum(self.consumption) / self.duration
51
52
53
if
__name__ ==
"__main__"
:
Callers
1
read_file
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected