| ... | ... | @@ -18,17 +18,17 @@ |
|
|
|
|
|
|
|
# list of commonly used python functions for the Kappa Endstation
|
|
|
|
---
|
|
|
|
##Required Imports
|
|
|
|
## Required Imports
|
|
|
|
from iexcode.macros.Kappa import *
|
|
|
|
from iexcode.macros.xrays import *
|
|
|
|
|
|
|
|
##Kappa Endstation initialization
|
|
|
|
## Kappa Endstation initialization
|
|
|
|
run the code below in the first cell
|
|
|
|
`tey,d3,d4,mesh,tth_pv,tthdet,ls331 = kappa_init('UserName', xrays=True)`
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
##KappaEndstation
|
|
|
|
## KappaEndstation
|
|
|
|
Kappa_get_all()
|
|
|
|
Kappa_safe_state()
|
|
|
|
-------------------------------------------------------------
|
| ... | ... | @@ -36,7 +36,7 @@ run the code below in the first cell |
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## **Beamline and energy**
|
|
|
|
## Beamline and energy
|
|
|
|
safe_state() #put the beamline in a safe state
|
|
|
|
-------------------------------------------------------------
|
|
|
|
xrays_get_all() #get current beamline settings
|
| ... | ... | |