From 4f82d8ddcb40c879dd089f05334154be3f8d928e Mon Sep 17 00:00:00 2001 From: John Franklin Crenshaw Date: Fri, 21 Jun 2024 09:03:32 -0700 Subject: [PATCH] Changed the ComCam model back to Detector. --- python/lsst/ts/wep/instrument.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/lsst/ts/wep/instrument.py b/python/lsst/ts/wep/instrument.py index 67de3b4eb..a4a5f8d43 100644 --- a/python/lsst/ts/wep/instrument.py +++ b/python/lsst/ts/wep/instrument.py @@ -871,7 +871,7 @@ def _getIntrinsicZernikesTACached( # Offset the optic optic = self.batoidOffsetOptic - batoidModel = batoidModel.withLocallyShiftedOptic(optic, offset) + shiftedModel = batoidModel.withLocallyShiftedOptic(optic, offset) # Get the wavelength if len(self.wavelength) > 1: @@ -881,7 +881,7 @@ def _getIntrinsicZernikesTACached( # Get the off-axis model Zernikes in wavelengths zkIntrinsic = batoid.zernikeTA( - batoidModel, + shiftedModel, *np.deg2rad([xAngle, yAngle]), wavelength, jmax=jmax,