This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Pybind11 bindings for FilterLabel | |
*/ | |
auto clsFilterLabel = wrappers.wrapType( | |
py::class_<FilterLabel, std::shared_ptr<FilterLabel>>(wrappers.module, "FilterLabel"), | |
[](auto & mod, auto & cls) { | |
cls.def(py::init([](py::object band, py::object physical) { | |
// Expand as we get more combinations of keywords | |
if (!band.is_none() && !physical.is_none()) { |