Skip to content

Commit

Permalink
remove extra lines in interp
Browse files Browse the repository at this point in the history
  • Loading branch information
arunkannawadi committed Jan 23, 2024
1 parent cf37a70 commit a2853a6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion python/lsst/meas/algorithms/interp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ void declareInterpolateOverDefects(py::module& mod) {
"image"_a, "psf"_a, "badList"_a, "fallBackValue"_a = 0.0, "useFallbackValueAtEdge"_a = false);
}


void declareInterp(lsst::cpputils::python::WrapperCollection &wrappers) {
using PyDefect = py::class_<Defect, std::shared_ptr<Defect>, afw::image::DefectBase>;
auto clsDefect = wrappers.wrapType(PyDefect(wrappers.module, "Defect"), [](auto &mod, auto &cls) {
Expand Down
5 changes: 0 additions & 5 deletions src/Interp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@

#include "lsst/geom.h"
#include "lsst/pex/exceptions.h"
#include "lsst/afw/geom/SpanSet.h"
#include "lsst/afw/image/MaskedImage.h"
#include "lsst/geom/Point.h"
#include "lsst/meas/algorithms/Interp.h"

namespace lsst {
Expand Down Expand Up @@ -2113,7 +2111,6 @@ void interpolateOverDefects(MaskedImageT &mimage, ///< Image to p
}
}


/*****************************************************************************/
/**
*
Expand Down Expand Up @@ -2237,7 +2234,6 @@ typedef float ImagePixel;
template void interpolateOverDefects(afw::image::MaskedImage<ImagePixel, afw::image::MaskPixel> &image,
afw::detection::Psf const &, std::vector<Defect::Ptr> &badList, double,
bool);

template std::pair<bool, ImagePixel> interp::singlePixel(
int x, int y, afw::image::MaskedImage<ImagePixel, afw::image::MaskPixel> const &image,
bool horizontal, double minval);
Expand All @@ -2249,7 +2245,6 @@ template void interpolateOverDefects(afw::image::MaskedImage<double, afw::image:
afw::detection::Psf const &, std::vector<Defect::Ptr> &badList, double,
bool);


template std::pair<bool, double> interp::singlePixel(
int x, int y, afw::image::MaskedImage<double, afw::image::MaskPixel> const &image, bool horizontal,
double minval);
Expand Down

0 comments on commit a2853a6

Please sign in to comment.