From f9f7e76a69129f59535cdcee61e6d3c255028200 Mon Sep 17 00:00:00 2001 From: "J. Bryce Kalmbach" Date: Thu, 5 Sep 2024 12:14:48 -0700 Subject: [PATCH] Fix zernike average output after change to v11.2.0 in ts_wep. --- doc/versionHistory.rst | 6 ++++++ python/lsst/ts/imsim/closed_loop_task.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/versionHistory.rst b/doc/versionHistory.rst index b5bf03c..cffe829 100644 --- a/doc/versionHistory.rst +++ b/doc/versionHistory.rst @@ -5,6 +5,12 @@ ################## Version History ################## +------------- +1.6.3 +------------- + +* Fix zernike average output after change to v11.2.0 in ts_wep. + ------------- 1.6.2 ------------- diff --git a/python/lsst/ts/imsim/closed_loop_task.py b/python/lsst/ts/imsim/closed_loop_task.py index 5696fc7..9101cee 100644 --- a/python/lsst/ts/imsim/closed_loop_task.py +++ b/python/lsst/ts/imsim/closed_loop_task.py @@ -918,7 +918,7 @@ def run_wep( sensor_name = det_id_map[dataset.dataId["detector"]].getName() sensor_wavefront_data.sensor_name = sensor_name sensor_wavefront_data.sensor_id = det_name_map[sensor_name].getId() - sensor_wavefront_data.annular_zernike_poly = zer_coeff + sensor_wavefront_data.annular_zernike_poly = zer_coeff[0] list_of_wf_err.append(sensor_wavefront_data)