Skip to content

Commit

Permalink
Add old profile for reference
Browse files Browse the repository at this point in the history
  • Loading branch information
klauer committed May 26, 2016
1 parent 9613e2e commit de02cef
Show file tree
Hide file tree
Showing 21 changed files with 4,130 additions and 0 deletions.
534 changes: 534 additions & 0 deletions profile_bs2015/ipython_config.py

Large diffs are not rendered by default.

844 changes: 844 additions & 0 deletions profile_bs2015/ipython_nbconvert_config.py

Large diffs are not rendered by default.

662 changes: 662 additions & 0 deletions profile_bs2015/ipython_notebook_config.py

Large diffs are not rendered by default.

663 changes: 663 additions & 0 deletions profile_bs2015/ipython_qtconsole_config.py

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions profile_bs2015/startup/00-startup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import logging

session_mgr._logger.setLevel(logging.INFO)
# To help with debugging scanning-related problems, uncomment the following:
# session_mgr._logger.setLevel(logging.DEBUG)

handler = logging.StreamHandler(sys.stderr)
fmt = logging.Formatter("%(asctime)-15s [%(name)5s:%(levelname)s] %(message)s")
handler.setFormatter(fmt)
logging.getLogger('hxntools').addHandler(handler)
logging.getLogger('hxnfly').addHandler(handler)
logging.getLogger('ppmac').addHandler(handler)

logging.getLogger('hxnfly').setLevel(logging.DEBUG)
logging.getLogger('hxntools').setLevel(logging.DEBUG)
logging.getLogger('ppmac').setLevel(logging.INFO)

from ophyd.commands import *
from dataportal import (DataBroker as db,
StepScan as ss,
DataBroker, StepScan,
DataMuxer)
58 changes: 58 additions & 0 deletions profile_bs2015/startup/01-bluesky.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
import asyncio
from functools import partial
from bluesky.standard_config import *
from bluesky.scans import *
from bluesky.callbacks import *
from bluesky.broker_callbacks import *
from bluesky.hardware_checklist import *
from bluesky.qt_kicker import install_qt_kicker

from hxntools.uid_broadcast import HxnUidBroadcast
from hxntools.scan_status import HxnScanStatus
from hxntools.scan_number import HxnScanNumberPrinter


# The following line allows bluesky and pyqt4 GUIs to play nicely together:
install_qt_kicker()


RE = gs.RE
abort = RE.abort
resume = RE.resume
stop = RE.stop

RE.md['group'] = ''
RE.md['config'] = {}
RE.md['beamline_id'] = 'HXN'
# RE.ignore_callback_exceptions = False

uid_broadcaster = HxnUidBroadcast('XF:03IDC-ES{BS-Scan}UID-I')
hxn_scan_status = HxnScanStatus('XF:03IDC-ES{Status}ScanRunning-I')

RE.subscribe('all', HxnScanNumberPrinter())
RE.subscribe('all', uid_broadcaster)
RE.subscribe('all', hxn_scan_status)

loop = asyncio.get_event_loop()
loop.set_debug(False)
# RE.verbose = True

# sr_shutter_status = EpicsSignal('SR-EPS{PLC:1}Sts:MstrSh-Sts', rw=False,
# name='sr_shutter_status')
# sr_beam_current = EpicsSignal('SR:C03-BI{DCCT:1}I:Real-I', rw=False,
# name='sr_beam_current')

checklist = partial(basic_checklist,
ca_url='http://xf03id-ca.cs.nsls2.local:4800',
disk_storage=[('/', 10e9), ('/data', 10e9), ('/xspress3_data', 10e9)],
# pv_names=['XF:23ID1-ES{Dif-Ax:SY}Pos-SP'],
# pv_conditions=[('XF:23ID-PPS{Sh:FE}Pos-Sts', 'front-end shutter is open', assert_pv_equal, 0),
# ('XF:23IDA-PPS:1{PSh}Pos-Sts', 'upstream shutter is open', assert_pv_equal, 0),
# ('XF:23ID1-PPS{PSh}Pos-Sts', 'downstream shutter is open', assert_pv_equal, 0)],
)


# # TODO: figure out olog issues
# olog_client = None
# # TODO
# RE.logbook = olog_wrapper(olog_client, 'Experiments')
81 changes: 81 additions & 0 deletions profile_bs2015/startup/10-optics.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
from ophyd.controls import EpicsMotor, PVPositioner

#dcm_th = EpicsMotor('XF:03IDA-OP{Mon:1-Ax:Bragg}Mtr', name='dcm_th')
dcm_x = EpicsMotor('XF:03IDA-OP{Mon:1-Ax:X}Mtr', name='dcm_x')
dcm_th = EpicsMotor('XF:03IDA-OP{Mon:1-Ax:Bragg}Mtr', name='dcm_th')
dcm_p = EpicsMotor('XF:03IDA-OP{Mon:1-Ax:P}Mtr', name='dcm_p')
dcm_r = EpicsMotor('XF:03IDA-OP{Mon:1-Ax:R}Mtr', name='dcm_r')
m1_x = EpicsMotor('XF:03IDA-OP{Mir:1-Ax:X}Mtr', name='m1_x')
m1_y = EpicsMotor('XF:03IDA-OP{Mir:1-Ax:Y}Mtr', name='m1_y')
m1_p = EpicsMotor('XF:03IDA-OP{Mir:1-Ax:P}Mtr', name='m1_p')
m1_b = EpicsMotor('XF:03IDA-OP{Mir:1-Ax:Bend}Mtr', name='m1_b')
m2_x = EpicsMotor('XF:03IDA-OP{Mir:2-Ax:X}Mtr', name='m2_x')
m2_y = EpicsMotor('XF:03IDA-OP{Mir:2-Ax:Y}Mtr', name='m2_y')
m2_p = EpicsMotor('XF:03IDA-OP{Mir:2-Ax:P}Mtr', name='m2_p')
m2_b = EpicsMotor('XF:03IDA-OP{Mir:2-Ax:Bend}Mtr', name='m2_b')
s1_bot = EpicsMotor('XF:03IDA-OP{Slt:1-Ax:Btm}Mtr', name='s1_bot')
s1_top = EpicsMotor('XF:03IDA-OP{Slt:1-Ax:Top}Mtr', name='s1_top')
s1_inb = EpicsMotor('XF:03IDA-OP{Slt:1-Ax:Inb}Mtr', name='s1_inb')
s1_outb = EpicsMotor('XF:03IDA-OP{Slt:1-Ax:Outb}Mtr', name='s1_outb')
s2_bot = EpicsMotor('XF:03IDA-OP{Slt:2-Ax:Btm}Mtr', name='s2_bot')
s2_top = EpicsMotor('XF:03IDA-OP{Slt:2-Ax:Top}Mtr', name='s2_top')
s2_inb = EpicsMotor('XF:03IDA-OP{Slt:2-Ax:Inb}Mtr', name='s2_inb')
s2_outb = EpicsMotor('XF:03IDA-OP{Slt:2-Ax:Outb}Mtr', name='s2_outb')
bpm1_x = EpicsMotor('XF:03IDA-OP{BPM:1-Ax:X}Mtr', name='bpm1_x')
bpm1_y = EpicsMotor('XF:03IDA-OP{BPM:1-Ax:Y}Mtr', name='bpm1_y')
bpm2_y = EpicsMotor('XF:03IDA-OP{BPM:2-Ax:Y}Mtr', name='bpm2_y')
bpm2_x = EpicsMotor('XF:03IDA-OP{BPM:2-Ax:X}Mtr', name='bpm2_x')
bpm3_x = EpicsMotor('XF:03IDA-OP{BPM:3-Ax:X}Mtr', name='bpm3_x')
fs1_y = EpicsMotor('XF:03IDA-OP{FS:1-Ax:Y}Mtr', name='fs1_y')
bpm4_y = EpicsMotor('XF:03IDA-OP{BPM:4-Ax:Y}Mtr', name='bpm4_y')
bpm5_y = EpicsMotor('XF:03IDA-OP{BPM:5-Ax:Y}Mtr', name='bpm5_y')
fl1_y = EpicsMotor('XF:03IDA-OP{Flr:1-Ax:Y}Mtr', name='fl1_y')
fl2_y = EpicsMotor('XF:03IDA-OP{Flr:2-Ax:Y}Mtr', name='fl2_y')
crl_x = EpicsMotor('XF:03IDA-OP{Lens:CRL-Ax:X}Mtr', name='crl_x')
crl_y = EpicsMotor('XF:03IDA-OP{Lens:CRL-Ax:Y}Mtr', name='crl_y')
crl_p = EpicsMotor('XF:03IDA-OP{Lens:CRL-Ax:P}Mtr', name='crl_p')
m1_pf = EpicsMotor('XF:03IDA-OP{HCM:1-Ax:PF}Mtr', name='m1_pf')
m2_pf = EpicsMotor('XF:03IDA-OP{HFM:1-Ax:PF}Mtr', name='m2_pf')
dcm_pf = EpicsMotor('XF:03IDA-OP{Mon:1-Ax:PF}Mtr', name='dcm_pf')
dcm_rf = EpicsMotor('XF:03IDA-OP{Mon:1-Ax:RF}Mtr', name='dcm_rf')


# # M1
# m1x = EpicsMotor('XF:03IDA-OP{Mir:1-Ax:X}Mtr', name='m1x')
# m1y = EpicsMotor('XF:03IDA-OP{Mir:1-Ax:Y}Mtr', name='m1y')
# m1p = EpicsMotor('XF:03IDA-OP{Mir:1-Ax:P}Mtr', name='m1p')
# m1b = EpicsMotor('XF:03IDA-OP{Mir:1-Ax:Bend}Mtr', name='m1b')
#
# # HCM
# m1pz = EpicsMotor('XF:03IDA-OP{HCM:1-Ax:PF}Mtr', name='m1pz')
#
# # slit:1
# slt = EpicsMotor('XF:03IDA-OP{Slt:1-Ax:Top}Mtr', name='slt')
# slb = EpicsMotor('XF:03IDA-OP{Slt:1-Ax:Btm}Mtr', name='slb')
# sli = EpicsMotor('XF:03IDA-OP{Slt:1-Ax:Inb}Mtr', name='sli')
# slo = EpicsMotor('XF:03IDA-OP{Slt:1-Ax:Outb}Mtr', name='slo')
#
# # Mon:1
# bragg = EpicsMotor('XF:03IDA-OP{Mon:1-Ax:Bragg}Mtr', name='bragg')
#
# # HFM
# m2x = EpicsMotor('XF:03IDA-OP{Mir:2-Ax:X}Mtr', name='m2x')
# m2y = EpicsMotor('XF:03IDA-OP{Mir:2-Ax:Y}Mtr', name='m2y')
# m2p = EpicsMotor('XF:03IDA-OP{Mir:2-Ax:P}Mtr', name='m2p')
# m2b = EpicsMotor('XF:03IDA-OP{Mir:2-Ax:Bend}Mtr', name='m2b')
#
#
# # Diagnostic Manipulators
# f1y = EpicsMotor('XF:03IDA-OP{Flr:1-Ax:Y}Mtr', name='f1y')
# f2y = EpicsMotor('XF:03IDA-OP{Flr:2-Ax:Y}Mtr', name='f2y')
#
# # CRL
# crlth = EpicsMotor('XF:03IDA-OP{Lens:CRL-Ax:P}Mtr', name='crlth')
#
# # nanoBPM2@SSA1
# nano2y = EpicsMotor('XF:03IDB-OP{BPM:6-Ax:Y}Mtr', name='nano2y')
#
# # nanoBPM3@SSA2
# nano3y = EpicsMotor('XF:03IDC-OP{BPM:7-Ax:Y}Mtr', name='nano3y')
#
#
40 changes: 40 additions & 0 deletions profile_bs2015/startup/11-machine.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
from ophyd.controls import PVPositioner

# Undulator

ugap = PVPositioner('SR:C3-ID:G1{IVU20:1-Mtr:2}Inp:Pos',
readback='SR:C3-ID:G1{IVU20:1-Mtr:2}Pos.RBV',
act='SR:C3-ID:G1{IVU20:1-Mtr:2}Sw:Go', act_val=1,
stop='SR:C3-ID:G1{IVU20:1-Mtr:2}Pos.STOP', stop_val=1,
done='SR:C3-ID:G1{IVU20:1-Mtr:2}Pos.DMOV', done_val=1,
put_complete=False,
settle_time=1.5,
name='ugap')

# Front End Slits (Primary Slits)

fe_tb = PVPositioner('FE:C03A-OP{Slt:1-Ax:T}Mtr.VAL',
readback='FE:C03A-OP{Slt:1-Ax:T}Mtr.RBV',
stop='FE:C03A-OP{Slt:1-Ax:T}Mtr.STOP',
stop_val=1, put_complete=True,
name='fe_tb')

fe_bb = PVPositioner('FE:C03A-OP{Slt:2-Ax:B}Mtr.VAL',
readback='FE:C03A-OP{Slt:2-Ax:B}Mtr.RBV',
stop='FE:C03A-OP{Slt:2-Ax:B}Mtr.STOP',
stop_val=1, put_complete=True,
name='fe_bb')

fe_ib = PVPositioner('FE:C03A-OP{Slt:2-Ax:I}Mtr.VAL',
readback='FE:C03A-OP{Slt:2-Ax:I}Mtr.RBV',
stop='FE:C03A-OP{Slt:2-Ax:I}Mtr.STOP',
stop_val=1, put_complete=True,
name='fe_ib')

fe_ob = PVPositioner('FE:C03A-OP{Slt:1-Ax:O}Mtr.VAL',
readback='FE:C03A-OP{Slt:1-Ax:O}Mtr.RBV',
stop='FE:C03A-OP{Slt:1-Ax:O}Mtr.STOP',
stop_val=1, put_complete=True,
name='fe_ob')


139 changes: 139 additions & 0 deletions profile_bs2015/startup/12-endstation.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
from ophyd.controls import EpicsMotor, PVPositioner

ssa1_hgap = EpicsMotor('XF:03IDB-OP{Slt:SSA1-Ax:XAp}Mtr', name='ssa1_hgap')
ssa1_vgap = EpicsMotor('XF:03IDB-OP{Slt:SSA1-Ax:YAp}Mtr', name='ssa1_vgap')
ssa1_hcen = EpicsMotor('XF:03IDB-OP{Slt:SSA1-Ax:X}Mtr', name='ssa1_hcen')
ssa1_vcen = EpicsMotor('XF:03IDB-OP{Slt:SSA1-Ax:Y}Mtr', name='ssa1_vcen')
bpm6_y = EpicsMotor('XF:03IDB-OP{BPM:6-Ax:Y}Mtr', name='bpm6_y')

# idb_m1 = EpicsMotor('XF:03IDB-OP{Slt:SSA1-Ax:6}Mtr', name='idb_m1')
# idb_m2 = EpicsMotor('XF:03IDB-OP{Slt:SSA1-Ax:7}Mtr', name='idb_m2')
# idb_m3 = EpicsMotor('XF:03IDB-OP{Slt:SSA1-Ax:8}Mtr', name='idb_m3')

ssa2_hgap = EpicsMotor('XF:03IDC-OP{Slt:SSA2-Ax:XAp}Mtr', name='ssa2_hgap')
ssa2_vgap = EpicsMotor('XF:03IDC-OP{Slt:SSA2-Ax:YAp}Mtr', name='ssa2_vgap')
ssa2_hcen = EpicsMotor('XF:03IDC-OP{Slt:SSA2-Ax:X}Mtr', name='ssa2_hcen')
ssa2_vcen = EpicsMotor('XF:03IDC-OP{Slt:SSA2-Ax:Y}Mtr', name='ssa2_vcen')
s3_top = EpicsMotor('XF:03IDC-OP{Slt:3-Ax:Top}Mtr', name='s3_top')
s3_bot = EpicsMotor('XF:03IDC-OP{Slt:3-Ax:Btm}Mtr', name='s3_bot')
s3_inb = EpicsMotor('XF:03IDC-OP{Slt:3-Ax:Inb}Mtr', name='s3_inb')
s3_outb = EpicsMotor('XF:03IDC-OP{Slt:3-Ax:Outb}Mtr', name='s3_outb')

# mc2_m1 = EpicsMotor('XF:03IDC-ES{MC:2-Ax:1}Mtr', name='mc2_m1')
# mc2_m2 = EpicsMotor('XF:03IDC-ES{MC:2-Ax:2}Mtr', name='mc2_m2')
# mc2_m3 = EpicsMotor('XF:03IDC-ES{MC:2-Ax:3}Mtr', name='mc2_m3')
# mc2_m4 = EpicsMotor('XF:03IDC-ES{MC:2-Ax:4}Mtr', name='mc2_m4')
# mc2_m5 = EpicsMotor('XF:03IDC-ES{MC:2-Ax:5}Mtr', name='mc2_m5')
# mc2_m6 = EpicsMotor('XF:03IDC-ES{MC:2-Ax:6}Mtr', name='mc2_m6')
# mc2_m7 = EpicsMotor('XF:03IDC-ES{MC:2-Ax:7}Mtr', name='mc2_m7')
# mc2_m8 = EpicsMotor('XF:03IDC-ES{MC:2-Ax:8}Mtr', name='mc2_m8')
# mc3_m1 = EpicsMotor('XF:03IDC-ES{MC:3-Ax:1}Mtr', name='mc3_m1')
# mc3_m2 = EpicsMotor('XF:03IDC-ES{MC:3-Ax:2}Mtr', name='mc3_m2')
# mc3_m3 = EpicsMotor('XF:03IDC-ES{MC:3-Ax:3}Mtr', name='mc3_m3')
# mc3_m4 = EpicsMotor('XF:03IDC-ES{MC:3-Ax:4}Mtr', name='mc3_m4')
# mc3_m5 = EpicsMotor('XF:03IDC-ES{MC:3-Ax:5}Mtr', name='mc3_m5')
# mc3_m6 = EpicsMotor('XF:03IDC-ES{MC:3-Ax:6}Mtr', name='mc3_m6')
# mc3_m7 = EpicsMotor('XF:03IDC-ES{MC:3-Ax:7}Mtr', name='mc3_m7')
# mc3_m8 = EpicsMotor('XF:03IDC-ES{MC:3-Ax:8}Mtr', name='mc3_m8')
# mc4_m1 = EpicsMotor('XF:03IDC-ES{MC:4-Ax:1}Mtr', name='mc4_m1')
# mc4_m2 = EpicsMotor('XF:03IDC-ES{MC:4-Ax:2}Mtr', name='mc4_m2')
# mc4_m3 = EpicsMotor('XF:03IDC-ES{MC:4-Ax:3}Mtr', name='mc4_m3')
# mc4_m4 = EpicsMotor('XF:03IDC-ES{MC:4-Ax:4}Mtr', name='mc4_m4')
# mc4_m5 = EpicsMotor('XF:03IDC-ES{MC:4-Ax:5}Mtr', name='mc4_m5')
# mc4_m6 = EpicsMotor('XF:03IDC-ES{MC:4-Ax:6}Mtr', name='mc4_m6')
# mc4_m7 = EpicsMotor('XF:03IDC-ES{MC:4-Ax:7}Mtr', name='mc4_m7')
# mc4_m8 = EpicsMotor('XF:03IDC-ES{MC:4-Ax:8}Mtr', name='mc4_m8')

p_vx = EpicsMotor('XF:03IDC-ES{Proto:1-Ax:1}Mtr', name='p_vx')
p_vy = EpicsMotor('XF:03IDC-ES{Proto:1-Ax:2}Mtr', name='p_vy')
p_vt = EpicsMotor('XF:03IDC-ES{Proto:1-Ax:3}Mtr', name='p_vt')
p_vchi = EpicsMotor('XF:03IDC-ES{Proto:1-Ax:4}Mtr', name='p_vchi')
p_osat = EpicsMotor('XF:03IDC-ES{Proto:1-Ax:5}Mtr', name='p_osat')
p_osay = EpicsMotor('XF:03IDC-ES{Proto:1-Ax:6}Mtr', name='p_osay')
p_osax = EpicsMotor('XF:03IDC-ES{Proto:1-Ax:7}Mtr', name='p_osax')
p_osaz = EpicsMotor('XF:03IDC-ES{Proto:1-Ax:8}Mtr', name='p_osaz')
s4_vgap = EpicsMotor('XF:03IDC-ES{Slt:4-Ax:X}Mtr', name='s4_vgap')
s4_vcen = EpicsMotor('XF:03IDC-ES{Slt:4-Ax:Y}Mtr', name='s4_vcen')
s4_hgap = EpicsMotor('XF:03IDC-ES{Slt:4-Ax:Z}Mtr', name='s4_hgap')
s4_hcen = EpicsMotor('XF:03IDC-ES{Slt:4-Ax:Top}Mtr', name='s4_hcen')

# mc6_m5 = EpicsMotor('XF:03IDC-ES{MC:6-Ax:5}Mtr', name='mc6_m5')
# mc6_m6 = EpicsMotor('XF:03IDC-ES{MC:6-Ax:6}Mtr', name='mc6_m6')
# mc6_m7 = EpicsMotor('XF:03IDC-ES{MC:6-Ax:7}Mtr', name='mc6_m7')

bpm7_y = EpicsMotor('XF:03IDC-ES{BPM:7-Ax:Y}Mtr', name='bpm7_y')

# mc7_m1 = EpicsMotor('XF:03IDC-ES{MC:7-Ax:1}Mtr', name='mc7_m1')
# mc7_m2 = EpicsMotor('XF:03IDC-ES{MC:7-Ax:2}Mtr', name='mc7_m2')
# mc7_m3 = EpicsMotor('XF:03IDC-ES{MC:7-Ax:3}Mtr', name='mc7_m3')
# mc7_m4 = EpicsMotor('XF:03IDC-ES{MC:7-Ax:4}Mtr', name='mc7_m4')
# mc7_m5 = EpicsMotor('XF:03IDC-ES{MC:7-Ax:5}Mtr', name='mc7_m5')
# mc7_m6 = EpicsMotor('XF:03IDC-ES{MC:7-Ax:6}Mtr', name='mc7_m6')
# mc7_m7 = EpicsMotor('XF:03IDC-ES{MC:7-Ax:7}Mtr', name='mc7_m7')
# mc7_m8 = EpicsMotor('XF:03IDC-ES{MC:7-Ax:8}Mtr', name='mc7_m8')

questar_f = EpicsMotor('XF:03IDC-ES{MC:8-Ax:1}Mtr', name='questar_f')

# mc8_m2 = EpicsMotor('XF:03IDC-ES{MC:8-Ax:2}Mtr', name='mc8_m2')
# mc8_m3 = EpicsMotor('XF:03IDC-ES{MC:8-Ax:3}Mtr', name='mc8_m3')
# mc8_m4 = EpicsMotor('XF:03IDC-ES{MC:8-Ax:4}Mtr', name='mc8_m4')
# mc8_m5 = EpicsMotor('XF:03IDC-ES{MC:8-Ax:5}Mtr', name='mc8_m5')
# mc8_m6 = EpicsMotor('XF:03IDC-ES{MC:8-Ax:6}Mtr', name='mc8_m6')
# mc8_m7 = EpicsMotor('XF:03IDC-ES{MC:8-Ax:7}Mtr', name='mc8_m7')
# mc8_m8 = EpicsMotor('XF:03IDC-ES{MC:8-Ax:8}Mtr', name='mc8_m8')
# mc9_m1 = EpicsMotor('XF:03IDC-ES{MC:9-Ax:1}Mtr', name='mc9_m1')
# mc9_m2 = EpicsMotor('XF:03IDC-ES{MC:9-Ax:2}Mtr', name='mc9_m2')
# mc9_m3 = EpicsMotor('XF:03IDC-ES{MC:9-Ax:3}Mtr', name='mc9_m3')
# mc9_m4 = EpicsMotor('XF:03IDC-ES{MC:9-Ax:4}Mtr', name='mc9_m4')

s6_vgap = EpicsMotor('XF:03IDC-ES{Slt:6-Ax:Vgap}Mtr', name='s6_vgap')
s6_vcen = EpicsMotor('XF:03IDC-ES{Slt:6-Ax:Vcen}Mtr', name='s6_vcen')
s6_hgap = EpicsMotor('XF:03IDC-ES{Slt:6-Ax:Hgap}Mtr', name='s6_hgap')
s6_vcen = EpicsMotor('XF:03IDC-ES{Slt:6-Ax:Hcen}Mtr', name='s6_vcen')
s5_hcen = EpicsMotor('XF:03IDC-ES{Slt:5-Ax:Hcen}Mtr', name='s5_hcen')
s5_hgap = EpicsMotor('XF:03IDC-ES{Slt:5-Ax:Hgap}Mtr', name='s5_hgap')
s5_vcen = EpicsMotor('XF:03IDC-ES{Slt:5-Ax:Vcen}Mtr', name='s5_vcen')
s5_vgap = EpicsMotor('XF:03IDC-ES{Slt:5-Ax:Vgap}Mtr', name='s5_vgap')

# mc10_m5 = EpicsMotor('XF:03IDC-ES{MC:10-Ax:5}Mtr', name='mc10_m5')
# mc10_m6 = EpicsMotor('XF:03IDC-ES{MC:10-Ax:6}Mtr', name='mc10_m6')
# mc10_m7 = EpicsMotor('XF:03IDC-ES{MC:10-Ax:7}Mtr', name='mc10_m7')
# mc10_m8 = EpicsMotor('XF:03IDC-ES{MC:10-Ax:8}Mtr', name='mc10_m8')

fdet2_z = EpicsMotor('XF:03IDC-ES{Det:Bruk-Ax:Z}Mtr', name='fdet2_z')
fdet2_y = EpicsMotor('XF:03IDC-ES{Det:Bruk-Ax:Y}Mtr', name='fdet2_y')
fdet2_x = EpicsMotor('XF:03IDC-ES{Det:Bruk-Ax:X}Mtr', name='fdet2_x')
fdet1_z = EpicsMotor('XF:03IDC-ES{Det:Vort-Ax:Z}Mtr', name='fdet1_z')
fdet1_y = EpicsMotor('XF:03IDC-ES{Det:Vort-Ax:Y}Mtr', name='fdet1_y')
fdet1_x = EpicsMotor('XF:03IDC-ES{Det:Vort-Ax:X}Mtr', name='fdet1_x')

# mc11_m7 = EpicsMotor('XF:03IDC-ES{MC:11-Ax:7}Mtr', name='mc11_m7')
# mc11_m8 = EpicsMotor('XF:03IDC-ES{MC:11-Ax:8}Mtr', name='mc11_m8')
# mc12_m1 = EpicsMotor('XF:03IDC-ES{MC:12-Ax:1}Mtr', name='mc12_m1')
# mc12_m2 = EpicsMotor('XF:03IDC-ES{MC:12-Ax:2}Mtr', name='mc12_m2')
# mc12_m3 = EpicsMotor('XF:03IDC-ES{MC:12-Ax:3}Mtr', name='mc12_m3')

bs_x = EpicsMotor('XF:03IDC-ES{MC:12-Ax:4}Mtr', name='bs_x')
bs_y = EpicsMotor('XF:03IDC-ES{MC:12-Ax:5}Mtr', name='bs_y')
# mc12_m6 = EpicsMotor('XF:03IDC-ES{MC:12-Ax:6}Mtr', name='mc12_m6')
# mc12_m7 = EpicsMotor('XF:03IDC-ES{MC:12-Ax:7}Mtr', name='mc12_m7')
# mc12_m8 = EpicsMotor('XF:03IDC-ES{MC:12-Ax:8}Mtr', name='mc12_m8')

diff_z = EpicsMotor('XF:03IDC-ES{Diff-Ax:Z}Mtr', name='diff_z')
diff_x = EpicsMotor('XF:03IDC-ES{Diff-Ax:X}Mtr', name='diff_x')
diff_y1 = EpicsMotor('XF:03IDC-ES{Diff-Ax:Y1}Mtr', name='diff_y1')
diff_y2 = EpicsMotor('XF:03IDC-ES{Diff-Ax:Y2}Mtr', name='diff_y2')
diff_yaw = EpicsMotor('XF:03IDC-ES{Diff-Ax:Yaw}Mtr', name='diff_yaw')
diff_cx = EpicsMotor('XF:03IDC-ES{Diff-Ax:C1}Mtr', name='diff_cx')
diff_cy = EpicsMotor('XF:03IDC-ES{Diff-Ax:C2}Mtr', name='diff_cy')
diff_cz = EpicsMotor('XF:03IDC-ES{Diff-Ax:C3}Mtr', name='diff_cz')

s7_vgap = EpicsMotor('XF:03IDC-ES{Slt:7-Ax:Vgap}Mtr', name='s7_vgap')
s7_vcen = EpicsMotor('XF:03IDC-ES{Slt:7-Ax:Vcen}Mtr', name='s7_vcen')
s7_hgap = EpicsMotor('XF:03IDC-ES{Slt:7-Ax:Hgap}Mtr', name='s7_hgap')
s7_hcen = EpicsMotor('XF:03IDC-ES{Slt:7-Ax:Hcen}Mtr', name='s7_hcen')

# mc14_m5 = EpicsMotor('XF:03IDC-ES{MC:14-Ax:5}Mtr', name='mc14_m5')
# mc14_m6 = EpicsMotor('XF:03IDC-ES{MC:14-Ax:6}Mtr', name='mc14_m6')
# mc14_m7 = EpicsMotor('XF:03IDC-ES{MC:14-Ax:7}Mtr', name='mc14_m7')
# mc14_m8 = EpicsMotor('XF:03IDC-ES{MC:14-Ax:8}Mtr', name='mc14_m8')
Loading

0 comments on commit de02cef

Please sign in to comment.