23 #include "pybind11/pybind11.h" 36 template <
typename WeightPixelT>
37 void declareSetCoaddEdgeBits(
py::module &mod) {
40 mod.def(
"setCoaddEdgeBits",
43 "coaddMask"_a,
"weightMap"_a);
49 py::module::import(
"lsst.afw.image");
51 declareSetCoaddEdgeBits<double>(mod);
52 declareSetCoaddEdgeBits<float>(mod);
53 declareSetCoaddEdgeBits<int>(mod);
54 declareSetCoaddEdgeBits<std::uint16_t>(mod);
A base class for image defects.
Represent a 2-dimensional array of bitmask pixels.
PYBIND11_MODULE(setCoaddEdgeBits, mod)
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects...
A class to represent a 2-dimensional array of pixels.