Skip to content

Commit

Permalink
Merge pull request #35 from lsst-ts/tickets/DM-43221
Browse files Browse the repository at this point in the history
Change imSim camera name LsstComCam to LsstComCamSim.
  • Loading branch information
jbkalmbach authored Mar 14, 2024
2 parents f61f94f + c260dc9 commit 38f45a1
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 5 deletions.
7 changes: 7 additions & 0 deletions doc/versionHistory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
Version History
##################

-------------
1.3.1
-------------

* Change imSim camera name LsstComCam to LsstComCamSim.
* Fix stamp size when using LSST_Silicon.

-------------
1.3.0
-------------
Expand Down
2 changes: 1 addition & 1 deletion policy/config/input/telescope/lsstComCamLargePert.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
telescope:
camera: LsstComCam
camera: LsstComCamSim
file_name:
type: FormattedStr
format: ComCam_%s.yaml
Expand Down
2 changes: 1 addition & 1 deletion policy/config/input/telescope/lsstComCamNoPert.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
telescope:
camera: LsstComCam
camera: LsstComCamSim
file_name:
type: FormattedStr
format: ComCam_%s.yaml
Expand Down
2 changes: 1 addition & 1 deletion policy/config/output/lsstComCamDefault.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ output:
mjd: *mjd
seqnum: *seqnum

camera: LsstComCam
camera: LsstComCamSim

exptime: $exptime

Expand Down
1 change: 1 addition & 0 deletions policy/config/stamp/lsstCamLsstSilicon.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
stamp:
size: 500
type: LSST_Silicon
det_name: "$det_name"
world_pos:
Expand Down
1 change: 1 addition & 0 deletions policy/config/stamp/lsstCamLsstSiliconWithDiffraction.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
stamp:
size: 500
type: LSST_Silicon
det_name: "$det_name"
world_pos:
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/ts/imsim/closed_loop_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ def _get_butler_inst_name(self, cam_type: CamType) -> str:
if cam_type in [CamType.LsstCam, CamType.LsstFamCam]:
butler_inst_name = "Cam"
elif cam_type == CamType.ComCam:
butler_inst_name = "ComCam"
butler_inst_name = "ComCamSim"

return butler_inst_name

Expand Down
1 change: 1 addition & 0 deletions tests/testData/imsimConfig/imsimConfigLsstCam.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ psf:


stamp:
size: 500
type: LSST_Silicon
det_name: "$det_name"
world_pos:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_closed_loop_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,4 @@ def test_get_butler_inst_name(self):

self.assertEqual(lsstcam_str, "Cam")
self.assertEqual(lsstfam_str, "Cam")
self.assertEqual(comcam_str, "ComCam")
self.assertEqual(comcam_str, "ComCamSim")

0 comments on commit 38f45a1

Please sign in to comment.