... | ... | @@ -93,21 +93,21 @@ mvsample(mysample) # moves to mysample, does not move tth |
|
|
## motor scans
|
|
|
|
|
|
```python
|
|
|
scanx(-500,500,50) # absolute scan (start,stop,step)
|
|
|
dscanx(-500,500,50) # relative scan (start,stop,step)
|
|
|
scanx(-500,500,50) # absolute scan (start,stop,step)
|
|
|
dscanx(-500,500,50) # relative scan (start,stop,step)
|
|
|
|
|
|
scanth2th() # absolute th2th scan
|
|
|
dscanth2th() # relative th2th scan
|
|
|
scanth2th() # absolute th2th scan
|
|
|
dscanth2th() # relative th2th scan
|
|
|
|
|
|
#### hkl scan:
|
|
|
hkl1=[0,0,1.9]
|
|
|
hkl2=[0,0,2.1]
|
|
|
scanhkl(hkl1,hkl2,50,1)
|
|
|
scanhkl(hkl1,hkl2,50,1) # first hkl, last hkl, npts, cts
|
|
|
|
|
|
#### fix Q scan:
|
|
|
hkl=[0.5,0,0]
|
|
|
E_Ti=[[445,455,0.5],[455,468,0.1],[468,475,0.5],[475,480,1]]
|
|
|
scanhkl_E(E_Ti,hkl,scan_ID=True,acq_time=1)
|
|
|
scanhkl_E(E_Ti,hkl,1,scan_ID=True) # energy list, Q, cts, scan_ID = False (fixed ID) or True
|
|
|
|
|
|
Clear_Scan_Positioners('Kappa') # remove extra positioners (eg after th2th or hkl scan)
|
|
|
```
|
... | ... | |