| ... | ... | @@ -41,7 +41,7 @@ energy(hv_eV) #set the photon energy (moving both ID, mono, and ap |
|
|
|
polarization(H/V/RCP/LCP) #set the polarization but not the energy (slow, need to cycle hysteresis loops)
|
|
|
|
mvID(hv_eV) #set the ID setpoint
|
|
|
|
qp(QP_ratio) #set the QP ration (off = 100 )
|
|
|
|
mvmono(eV) #set the mono energy
|
|
|
|
mvmono(hv_eV) #set the mono energy
|
|
|
|
grating(MEG/HEG) #changes grating ('HEG','MEG')
|
|
|
|
-------------------------------------------------------------
|
|
|
|
apertures_set(c_2B=1) #(c_2B <1 kills flux)
|
| ... | ... | @@ -93,10 +93,10 @@ or_swap() #swap two reflections and re |
|
|
|
show_ors() #print current reflections
|
|
|
|
clear_ors() #clear all reflections
|
|
|
|
-------------------------------------------------------------
|
|
|
|
cahkl(H, K, L, freeze=deg, hv=eV) #calculate motor position for a given HKL
|
|
|
|
cahkl(H, K, L, freeze=deg, hv=hv_eV) #calculate motor position for a given HKL
|
|
|
|
cahkl_path(hkl_start, hkl_stop, npts) #calculate motor positions for a linear HKL trajectory
|
|
|
|
cahkl_table(reflectiosn) #calculate motor positions for a given trajectory table
|
|
|
|
mvhkl(H, K, L, freeze=deg, hv=eV) #move to HKL, frozen motor depends on the choice of mode in fourc
|
|
|
|
mvhkl(H, K, L, freeze=deg, hv=hv_eV) #move to HKL, frozen motor depends on the choice of mode in fourc
|
|
|
|
-------------------------------------------------------------
|
|
|
|
scanhkl(hkl1, hkl2, npts) #scan a linear trajectory in r-space
|
|
|
|
scanhkl_lst(hkl_lst) #scan a given trajectory in r-space
|
| ... | ... | @@ -120,7 +120,7 @@ See below for a complete list of signals recorded during a scan and their corres |
|
|
|
`det` = `mesh`, `tey`, `d3`, or `d4` can be configured to operate as Keithley or SRS current amplifiers.
|
|
|
|
|
|
|
|
```python
|
|
|
|
tthdet.set('d3',move=True) # select a given detector (d3,d4, or mcp); move = True/False
|
|
|
|
tthdet.set('d3',move=True) # select a given detector (d3,d4, or mcp); move designated detector to current position is move==True
|
|
|
|
tthdet.get() # returns the name of the current detector
|
|
|
|
```
|
|
|
|
|
| ... | ... | |