optimize imports and cleanup code

This commit is contained in:
2024-09-25 12:36:48 +02:00
parent 457ea0e675
commit 3fc4f50c15
16 changed files with 37 additions and 4994 deletions

View File

@@ -10,9 +10,6 @@ import logging
_log=logging.getLogger(__name__)
import epics
#from app_config import settings
#from app_utils import assert_motor_positions
class Backlight(object):
def __init__(self, prefix: str='SAR-EXPMX:MOT_BLGT',pos={'pos_in':-30500,'pos_out':1000,'pos_diode':-30500}):
if prefix is None:
@@ -44,7 +41,6 @@ class Backlight(object):
m.move(target, ignore_limits=True, wait=wait)
if __name__ == "__main__":
import time,os
import argparse