... | ... | @@ -54,8 +54,8 @@ centroid() # to see centroid (mirror) position |
|
|
fit_centroid(n) # to calculate avg centroid position during scan n
|
|
|
|
|
|
|
|
|
scanhv # scan mono only
|
|
|
scanXAS # scan mono with variable step size; ID stays fix, can be offset with offset arg
|
|
|
scanmono # scan mono only and is a linear (constant step size)
|
|
|
scanXAS # scan mono with variable step size; ID_tracking = True/False
|
|
|
|
|
|
E_Ti=[[445,455,0.5],[455,468,0.1],[468,475,0.5],[475,480,1]]
|
|
|
scanXAS_BL(E_Ti,mcp=True,m3r=True);plot_latest()
|
... | ... | @@ -91,9 +91,26 @@ dscanx(-500,500,50) # relative scan (start,stop,step) |
|
|
scanth2th() # absolute th2th scan
|
|
|
dscanth2th() # relative th2th scan
|
|
|
|
|
|
#### hkl scan:
|
|
|
## hkl:
|
|
|
hkl1=[0,0,1.9]
|
|
|
hkl2=[0,0,2.1]
|
|
|
|
|
|
sampleNew(name,A,B,C,Alpha,Beta,Gamma)
|
|
|
sampleChange(sample_key=None
|
|
|
sampleUpdate(a,b,c,alpha,beta,gamma)
|
|
|
sampleList()
|
|
|
sampleRBV()
|
|
|
sampleReload(scanNum=None,**kwargs) #updates the sample and UB to be the same as in previous scanNum
|
|
|
|
|
|
setor(h,k,l,*args)
|
|
|
UBcalc(r1,r2) # calculates the UB matrix
|
|
|
UBenergy(eV) # updated UB with specified energy
|
|
|
|
|
|
cahkl(h,k,l) # calculate Euler angles for given hkl with current UB
|
|
|
get_hkl() # return hkl for current position
|
|
|
wh() # calculates and print all hkl UB for current setting including energy
|
|
|
|
|
|
### scanning
|
|
|
scanhkl(hkl1,hkl2,50,1) # first hkl, last hkl, npts, cts
|
|
|
|
|
|
#### fix Q scan:
|
... | ... | |