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