/* * Copyright 2020 Free Software Foundation, Inc. * * This file is part of GNU Radio * * SPDX-License-Identifier: GPL-3.0-or-later * */ /***********************************************************************************/ /* This file is automatically generated using bindtool and can be manually edited */ /* The following lines can be configured to regenerate this file during cmake */ /* If manual edits are made, the following tags should be modified accordingly. */ /* BINDTOOL_GEN_AUTOMATIC(0) */ /* BINDTOOL_USE_PYGCCXML(0) */ /* BINDTOOL_HEADER_FILE(selective_fading_model2.h) */ /* BINDTOOL_HEADER_FILE_HASH(be62c33bb17b2aec5e93136392e4ff49) */ /***********************************************************************************/ #include <pybind11/complex.h> #include <pybind11/pybind11.h> #include <pybind11/stl.h> namespace py = pybind11; #include <gnuradio/channels/selective_fading_model2.h> // pydoc.h is automatically generated in the build directory #include <selective_fading_model2_pydoc.h> void bind_selective_fading_model2(py::module& m) { using selective_fading_model2 = ::gr::channels::selective_fading_model2; py::class_<selective_fading_model2, gr::sync_block, gr::block, gr::basic_block, std::shared_ptr<selective_fading_model2>>( m, "selective_fading_model2", D(selective_fading_model2)) .def(py::init(&selective_fading_model2::make), py::arg("N"), py::arg("fDTs"), py::arg("LOS"), py::arg("K"), py::arg("seed"), py::arg("delays"), py::arg("delays_std"), py::arg("delays_maxdev"), py::arg("mags"), py::arg("ntaps"), D(selective_fading_model2, make)) .def("fDTs", &selective_fading_model2::fDTs, D(selective_fading_model2, fDTs)) .def("K", &selective_fading_model2::K, D(selective_fading_model2, K)) .def("step", &selective_fading_model2::step, D(selective_fading_model2, step)) .def("set_fDTs", &selective_fading_model2::set_fDTs, py::arg("fDTs"), D(selective_fading_model2, set_fDTs)) .def("set_K", &selective_fading_model2::set_K, py::arg("K"), D(selective_fading_model2, set_K)) .def("set_step", &selective_fading_model2::set_step, py::arg("step"), D(selective_fading_model2, set_step)) ; }