Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davidgiven/fluxengine
/ scaled
Function
scaled
scripts/analysedriveresponse.py:17–22 ·
view source on GitHub ↗
(row)
Source
from the content-addressed store, hash-verified
15
16
# Scale the frequencies.
17
def
scaled(row):
18
m = row.mean()
19
if
m != 0:
20
return
row / m
21
else
:
22
return
row
23
24
25
scaledfreq = numpy.array([scaled(row)
for
row in frequencies])
Callers
2
drawNoViewsBackground
Function · 0.85
analysedriveresponse.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected