MCPcopy Create free account
hub / github.com/IQEngine/IQEngine / get_from_samples_b64

Function get_from_samples_b64

plugins/src/samples.py:41–44  ·  view source on GitHub ↗
(samples_b64: SamplesB64)

Source from the content-addressed store, hash-verified

39
40
41def get_from_samples_b64(samples_b64: SamplesB64):
42 return np.frombuffer(
43 base64.decodebytes(samples_b64.samples.encode()), dtype=np.complex64
44 )
45
46
47async def get_from_samples_cloud(samples_cloud: SamplesCloud) -> np.ndarray:

Callers 1

runFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected