Skip to content

Commit

Permalink
Allow for detector rotations
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertLuptonTheGood committed May 4, 2019
1 parent 9730928 commit 242d9c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/lsst/pipe/drivers/visualizeVisit.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ def getCcdImage(self, detector, imageFactory, binSize):
image.getImage().getArray()[isBad] = self.background
if hasattr(image, "getImage"):
image = image.getImage()

image = afwMath.rotateImageBy90(image, detector.getOrientation().getNQuarter())

return image, detector

image = makeImageFromCamera(
Expand Down

0 comments on commit 242d9c4

Please sign in to comment.