Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AlayaLab/Hive
/ preprocess_chunk
Method
preprocess_chunk
infer_flowsep.py:75–79 ·
view source on GitHub ↗
(self, chunk)
Source
from the content-addressed store, hash-verified
73
return
waveform
74
75
def
preprocess_chunk(self, chunk):
76
chunk = chunk - np.mean(chunk)
77
chunk = chunk / (np.max(np.abs(chunk)) + 1e-8)
78
chunk = chunk * 0.5
79
return
chunk
80
81
82
def
parse_args():
Callers
1
_process_chunk
Function · 0.45
Calls
1
max
Method · 0.80
Tested by
no test coverage detected