Skip to content

Commit

Permalink
test association task update
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmartradio committed Aug 21, 2023
1 parent 77ac42e commit 59ba20b
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions tests/test_association_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,9 @@ def setUp(self):
"dec": 0.04*idx,
"diaSourceId": idx + 1 + self.nObjects, "diaObjectId": 0, "trailLength": 5.5*idx}
for idx in range(self.nSources)])
exposureId = 5
exposureTime = 30
boresightRotAngle = 45.6 * lsst.geom.degrees
weather = Weather(1.1, 2.2, 0.3)
visitInfo = afwImage.VisitInfo(
exposureId=exposureId,
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))
Expand Down

0 comments on commit 59ba20b

Please sign in to comment.