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

Function get_custom_params

plugins/src/samples.py:34–38  ·  view source on GitHub ↗
(plugin: Plugin, samples: SamplesB64 | SamplesCloud)

Source from the content-addressed store, hash-verified

32
33
34def get_custom_params(plugin: Plugin, samples: SamplesB64 | SamplesCloud):
35 custom_params = plugin.custom_params
36 custom_params["sample_rate"] = samples.sample_rate
37 custom_params["center_freq"] = samples.center_freq
38 return custom_params
39
40
41def get_from_samples_b64(samples_b64: SamplesB64):

Callers 1

runFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected