Skip to content
This repository was archived by the owner on May 2, 2025. It is now read-only.

Commit 19f2ef8

Browse files
authored
Merge pull request #61 from lsst/tickets/DM-15139
DM-15139: Rename invert() and getInverse() to inverted()
2 parents 1a80542 + f33ab0d commit 19f2ef8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/lsst/pipe/drivers/background.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -650,8 +650,8 @@ def toCcdBackground(self, detector, bbox):
650650
image = afwImage.ImageF(bbox.getDimensions()//self.config.binning)
651651
norm = afwImage.ImageF(image.getBBox())
652652
ctrl = afwMath.WarpingControl("bilinear")
653-
afwMath.warpImage(image, focalPlane, toSample.getInverse(), ctrl)
654-
afwMath.warpImage(norm, fpNorm, toSample.getInverse(), ctrl)
653+
afwMath.warpImage(image, focalPlane, toSample.inverted(), ctrl)
654+
afwMath.warpImage(norm, fpNorm, toSample.inverted(), ctrl)
655655
image /= norm
656656

657657
mask = afwImage.Mask(image.getBBox())

0 commit comments

Comments
 (0)