# Digital Filter Box
The Digital Filter Box can interactively design and generate different types of infinite impulse response filters with varied sampling rates.
DigitalFilterBox includes lowpass, highpass, bandpass and bandstop filter shapes with different filter types including Butterworth, Chebyshev, and Elliptic
If using the REST API directly, the instrument group name is digitalfilterbox.
Functions
Core
- Multi-instrument: Digital Filter Box in multi-instrument context
- enable_output: Enable or disable the Digital Filter output(s)
- getters: Digital Filter Box - getter functions
- load_settings: Load a previously saved `.mokuconf` settings file into the instrument. To create a `.mokuconf` file, either use `save_settings` or the desktop app.
- save_settings: Save instrument settings to a file. The file name should have a `.mokuconf` extension to be compatible with other tools.
- set_custom_filter: Set the infinite impulse response filter sample rate and filter coefficients for a given filter id.
- set_control_matrix: Set the linear combination of ADC input signals for a given DFB channel.
- set_filter: Configure the infinite impulse response filter with one of available filter shape and type
- set_defaults: Set the Digital filter box to its default state.
- set_input_gain: Set input signal gain
- set_frontend: Configures the input impedance, coupling, gain, and attenuation for each channel.
- set_input_offset: Set input signal offset
- set_output_offset: Set output signal offset
- set_output_gain: Set output signal gain
- summary: Returns a short summary of current instrument state
Data Logger
- logging_progress: Returns current logging state.
- start_logging: Start the data logging session to file.
- stop_logging: Stops the current instrument data logging session.
Data Streaming
- get_stream_data: Get the converted data stream
- get_chunk: Get a single chunk out of data stream
- start_streaming: Start a streaming session
- getters: Digital Filter Box - Streaming - getter functions
- stop_streaming: Stops the current instrument data streaming session.
- stream_to_file: Save the streaming session to a file
Oscilloscope
- enable_rollmode: Enables and disables Roll Mode X-axis behaviour
- get_data: Get a frame of the data from the instrument
- getters: Digital Filter Box - Oscilloscope - getter functions
- save_high_res_buffer: Save the high resolution channel buffer data to a file on the Moku's internal storage
- set_acquisition_mode: Set acquisition mode
- set_hysteresis: Configures the hysteresis around trigger point.
- set_interpolation: Configure the interpolation mode
- set_timebase: Set the left- and right-hand span for the time axis. Units are seconds relative to the trigger point.
- set_trigger: Sets trigger source and parameters.
- set_monitor: Configures the specified monitor channel to view the desired digital filter signal.