set_custom_filter

Set the infinite impulse response filter sample rate and filter coefficients for a given filter id.

Parameters

integer required
Target channel
allowed values:
Moku:Lab1, 2
Moku:Go1, 2
Moku:Pro1, 2, 3, 4
number required
Sampling rate for the filter
allowed values:
Moku:Lab15.625MHz, 1.9531MHz, 122.07kHz
Moku:Go3.906MHz, 488.3kHz, 61.04kHz
Moku:Pro39.06MHz, 4.883MHz, 305.2kHz
units: Hz
integer
Filter output scaling
default: 1
list required
List of filter stages, where each stage should have six coefficients and each coefficient must be in the range [-4.0, 4.0]
boolean
Disable all implicit conversions and coercions.
default: true

# Examples