Function to_sos¶
function to_sos(const zpk &) dsp¶
template <typename T = double>
KFR_FUNCTION iir_params<T> to_sos(const zpk& filter) Converts a zero-pole-gain filter to second-order sections (SOS) form.
Pairs poles and zeros into real-valued biquad sections using a pole-matching algorithm that pairs each pole with its nearest zero. Real poles are matched with real zeros; complex poles are paired with their conjugates and matched with complex zero pairs.Compatible with scipy.signal.zpk2sos.
| T | Floating-point type for the coefficients (default double). |
| filter | Filter in ZPK form. |
| IIR parameters as a sequence of biquad sections. |
Fully qualified name: kfr::to_sos(const zpk &)
Declared at dsp/iir_design.hpp:324
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.