blob: 1042fb8612b35d336c91ab4a9e4e9c719b8a1852 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
//
// Copyright 2020 Ettus Research, a National Instruments Brand
//
// SPDX-License-Identifier: GPL-3.0-or-later
//
#pragma once
#include "block_controller_factory_python.hpp"
#include <uhd/rfnoc/vector_iir_block_control.hpp>
using namespace uhd::rfnoc;
void export_vector_iir_block_control(py::module& m)
{
py::class_<vector_iir_block_control, noc_block_base, vector_iir_block_control::sptr>(
m, "vector_iir_block_control")
.def(py::init(&block_controller_factory<vector_iir_block_control>::make_from))
.def("set_alpha", &vector_iir_block_control::set_alpha)
.def("get_alpha", &vector_iir_block_control::get_alpha)
.def("set_beta", &vector_iir_block_control::set_beta)
.def("get_beta", &vector_iir_block_control::get_beta)
.def("set_delay", &vector_iir_block_control::set_delay)
.def("get_delay", &vector_iir_block_control::get_delay)
.def("get_max_delay", &vector_iir_block_control::get_max_delay);
}
|