diff --git a/csaxs_bec/bec_ipython_client/plugins/LamNI/lamni_optics_mixin.py b/csaxs_bec/bec_ipython_client/plugins/LamNI/lamni_optics_mixin.py index efb468a6..2437bf9a 100644 --- a/csaxs_bec/bec_ipython_client/plugins/LamNI/lamni_optics_mixin.py +++ b/csaxs_bec/bec_ipython_client/plugins/LamNI/lamni_optics_mixin.py @@ -5,7 +5,7 @@ from rich import box from rich.console import Console from rich.table import Table -from csaxs_bec.bec_ipython_client.plugins.cSAXS import epics_put, fshclose +from csaxs_bec.bec_ipython_client.plugins.cSAXS import epics_put from csaxs_bec.bec_ipython_client.plugins.omny.omny_general_tools import OMNYTools dev = builtins.__dict__.get("dev") @@ -172,7 +172,7 @@ class LamNIOpticsMixin: def leye_out(self): self.loptics_in() - fshclose() + dev.omnyfsh.fshopen() leyey_out = self._get_user_param_safe("leyey", "out") umv(dev.leyey, leyey_out) diff --git a/docs/user/ptychography/lamni.md b/docs/user/ptychography/lamni.md index c916b04d..ed7dcc4f 100644 --- a/docs/user/ptychography/lamni.md +++ b/docs/user/ptychography/lamni.md @@ -26,7 +26,7 @@ The effective position of the axis of rotation shifts with sample thickness or m 1. `dev.lsamx` and `dev.lsamy` will print current position and the center value. Update the center value by `dev.lsamx.update_user_parameter({'center':8.69})` `dev.lsamy.update_user_parameter({'center':8.69})` -1. close the shutter: `fshclose()` +1. close the shutter: `dev.omnyfsh.fshclose()` #### X-ray eye alignment