23 #include "pybind11/pybind11.h" 36 template <
typename CoaddPixelT,
typename WeightPixelT>
45 "coadd"_a,
"weightMap"_a,
"image"_a,
"weight"_a);
51 "coadd"_a,
"weightMap"_a,
"maskedImage"_a,
"badPixelMask"_a,
"weight"_a);
57 py::module::import(
"lsst.afw.geom");
58 py::module::import(
"lsst.afw.image");
60 declareAddToCoadd<double, double>(mod);
61 declareAddToCoadd<double, float>(mod);
62 declareAddToCoadd<double, int>(mod);
63 declareAddToCoadd<double, std::uint16_t>(mod);
64 declareAddToCoadd<float, double>(mod);
65 declareAddToCoadd<float, float>(mod);
66 declareAddToCoadd<float, int>(mod);
67 declareAddToCoadd<float, std::uint16_t>(mod);
A base class for image defects.
A class to manipulate images, masks, and variance as a single object.
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects...
An integer coordinate rectangle.
A class to represent a 2-dimensional array of pixels.
PYBIND11_MODULE(addToCoadd, mod)