From a000db8c98bd1854cb81dd1bc33b85e394cc760a Mon Sep 17 00:00:00 2001 From: gmegh Date: Wed, 23 Oct 2024 10:17:43 -0300 Subject: [PATCH] Add OCPS option to `base_close_loop.py` script. --- doc/news/DM-47064.perf.rst | 1 + python/lsst/ts/standardscripts/maintel/base_close_loop.py | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 doc/news/DM-47064.perf.rst diff --git a/doc/news/DM-47064.perf.rst b/doc/news/DM-47064.perf.rst new file mode 100644 index 000000000..d54ba7105 --- /dev/null +++ b/doc/news/DM-47064.perf.rst @@ -0,0 +1 @@ +Add OCPS option to `base_close_loop.py` script. \ No newline at end of file diff --git a/python/lsst/ts/standardscripts/maintel/base_close_loop.py b/python/lsst/ts/standardscripts/maintel/base_close_loop.py index 85d1cad6a..14fafd57f 100644 --- a/python/lsst/ts/standardscripts/maintel/base_close_loop.py +++ b/python/lsst/ts/standardscripts/maintel/base_close_loop.py @@ -202,6 +202,11 @@ def get_schema(cls) -> typing.Dict[str, typing.Any]: Apply OFC corrections after each iteration. type: boolean default: true + ocps: + description: >- + Use OCPS to run the wavefront estimation pipeline. + type: boolean + default: true ignore: description: >- CSCs from the group to ignore in status check. Name must @@ -251,6 +256,7 @@ async def configure(self, config: types.SimpleNamespace) -> None: # Set WEP configuration file self.wep_config = config.wep_config + self.wep_config.useOCPS = config.ocps # Set used dofs selected_dofs = config.used_dofs