FilterGen  1.0.0
A library to design digital filters in embedded systems.
butterworth.h File Reference

The computation of butterworth coefficients for the filter library. More...

#include "dh/filter-types.h"
Include dependency graph for butterworth.h:

Go to the source code of this file.

Functions

DH_FILTER_RETURN_VALUE dh_compute_butterworth_filter_coefficients (dh_filter_data *filter, dh_filter_parameters *options, DH_FILTER_CHARACTERISTIC characteristic)
 Computes all coefficients for a butterworth filter. More...
 

Detailed Description

The computation of butterworth coefficients for the filter library.

This source code is licensed under the MIT license. See file "LICENSE" at the root of the repository.

Function Documentation

◆ dh_compute_butterworth_filter_coefficients()

DH_FILTER_RETURN_VALUE dh_compute_butterworth_filter_coefficients ( dh_filter_data filter,
dh_filter_parameters options,
DH_FILTER_CHARACTERISTIC  characteristic 
)

Computes all coefficients for a butterworth filter.

This function will allocate temporary buffers.

Parameters
filterThe data structure with the filter parameters. It will be modified in place (the coefficient arrays are initialized).
optionsThe selected options for the filter.
characteristicThe type of butterworth filter that will be created.
Returns
DH_FILTER_RETURN_VALUE