From 77ac42ec5a87424ba3a2b1ef5acf4dac472dd961 Mon Sep 17 00:00:00 2001 From: Brianna Smart Date: Mon, 21 Aug 2023 16:25:54 -0700 Subject: [PATCH] More test --- tests/test_trailedSourceFilter.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/tests/test_trailedSourceFilter.py b/tests/test_trailedSourceFilter.py index 7f0d903a..1e33ff7c 100644 --- a/tests/test_trailedSourceFilter.py +++ b/tests/test_trailedSourceFilter.py @@ -20,14 +20,9 @@ def setUp(self): "dec": 0.04*idx + scatter*rng.uniform(-1, 1), "diaSourceId": idx, "diaObjectId": 0, "trailLength": 5.5*idx} for idx in range(self.nSources)]) - exposureTime = 30.0 - boresightRotAngle = 45.6 * lsst.geom.degrees - weather = Weather(1.1, 2.2, 0.3) - visitInfo = afwImage.VisitInfo( - exposureTime=exposureTime, - boresightRotAngle=boresightRotAngle, - weather=weather, - ) + visitInfo = afwImage.VisitInfo(exposureTime=30.0, + weather=Weather(1.1, 2.2, 34.5), + ) exposureInfo = afwImage.ExposureInfo() exposureInfo.setVisitInfo(visitInfo) maskedImage = afwImage.MaskedImageF(lsst.geom.Extent2I(64, 64))