add spec ct command
This commit is contained in:
@@ -25,7 +25,8 @@ __all__ = [
|
||||
'orientAdd',
|
||||
'orientRemove',
|
||||
'orientShow',
|
||||
'orientFit'
|
||||
'orientFit',
|
||||
'ct'
|
||||
]
|
||||
|
||||
bec = builtins.__dict__.get("bec")
|
||||
@@ -348,6 +349,12 @@ def orientFit():
|
||||
diffract.compute_UB()
|
||||
_showUB()
|
||||
|
||||
def ct(exp_time: float):
|
||||
"""
|
||||
Acquire all detectors
|
||||
"""
|
||||
scans.acquire(exp_time=exp_time)
|
||||
|
||||
def _showUB():
|
||||
UB = diffract.get_UB()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user