Commit 218ac1a7 authored by bliss administrator's avatar bliss administrator
Browse files

fscan remove unused import and use of scripts/energy.py

parent e4f67a45
......@@ -9,24 +9,16 @@ from bliss.common.logtools import (
log_error,
log_warning,
log_debug,
log_info,
log_exception
)
from bliss.scanning.scan import Scan, ScanState, DataWatchCallback
from bliss.scanning.scan_info import ScanInfo
from id26.scripts.energy import (
stepstoenergy,
angletoenergy,
stepstoangle,
energytosteps,
energytoangle,
)
FSCAN = setup_globals.fastscan
FSCAN_PAR = FSCAN.parameters
stepstoenergy = FSCAN.energy.controller.mono.steps2energy
energytosteps = FSCAN.energy.controller.mono.energy2steps
def _retry_fscan_once_on_exception (func):
@functools.wraps(func)
def wrapper(*a, **b):
......@@ -210,7 +202,6 @@ def fscan_check_traj(e0):
ene = stepstoenergy(energytosteps(ene) + mr)
yield ene
#I AM HERE
class FScanDisplay(DataWatchCallback):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment