... | ... | @@ -19,7 +19,7 @@ |
|
|
|
|
|
<br>
|
|
|
|
|
|
## Detectors
|
|
|
## detectors
|
|
|
|
|
|
|
|
|
| Name | Description | Ang. acceptance<br>HxV (deg) | Offset | Max tth | Det Num | Det/ $I_0$ Num |
|
... | ... | @@ -44,7 +44,7 @@ See below for a complete list of signals recorded during a scan and their corres |
|
|
|
|
|
<br>
|
|
|
|
|
|
## Energy
|
|
|
## energy
|
|
|
|
|
|
|
|
|
```python
|
... | ... | @@ -68,7 +68,7 @@ scanXAS_BL(E_Ti,mcp=True,m3r=True);plot_latest() |
|
|
```
|
|
|
<br>
|
|
|
|
|
|
# Diffractometer
|
|
|
# diffractometer
|
|
|
|
|
|
- m1 = kphi
|
|
|
- m2 = x
|
... | ... | @@ -92,7 +92,7 @@ sample(mysample) # moves to mysample, does not move tth |
|
|
```
|
|
|
<br>
|
|
|
|
|
|
# Motor Scans
|
|
|
# motor scans
|
|
|
|
|
|
```python
|
|
|
scanx(-500,500,50) # absolute scan (start,stop,step)
|
... | ... | @@ -112,7 +112,7 @@ Clear_Scan_Positioners('Kappa') # remove extra positioner (eg after th2th |
|
|
|
|
|
<br>
|
|
|
|
|
|
# SRS setup
|
|
|
# srs setup
|
|
|
|
|
|
With shutter close or slit at 0 (faster), 'INPUT OFFSET' set 'ON' and 'UNCAL'
|
|
|
- make sure the count goes down (not up) when closing the shutter! If the count goes up without beam, change the INVERT ON/OFF - as of 2021_2 all of our SRSs are INVERT ON (D3/D4/TEY/mesh)
|
... | ... | @@ -125,7 +125,7 @@ With shutter close or slit at 0 (faster), 'INPUT OFFSET' set 'ON' and 'UNCAL' |
|
|
|
|
|
<br>
|
|
|
|
|
|
# MCP
|
|
|
# mcp (area detector)
|
|
|
```python
|
|
|
MPA_HV_ON()
|
|
|
MPA_HV_Set(2975)
|
... | ... | @@ -142,7 +142,7 @@ roi=4; MPA_ROI_SetUp(535,539,400,400,roi) #set up ROI4 = 400x400 at the center |
|
|
|
|
|
<br>
|
|
|
|
|
|
# Vortex
|
|
|
# vortex
|
|
|
For detailed instructions see [manual here](https://git.aps.anl.gov/rodolakis/Macros_29id/-/wikis/RSXS/vortex).
|
|
|
|
|
|
|
... | ... | @@ -166,9 +166,9 @@ mcascan(add_vortex=False) # chooses to ignore vortex channels and removes them f |
|
|
|
|
|
<br>
|
|
|
|
|
|
# Plot
|
|
|
# analysis
|
|
|
|
|
|
## Using basic mda plots:
|
|
|
## basic mda plots:
|
|
|
```python
|
|
|
# n1,n2,n3 is a scan number
|
|
|
# d1,d2,d3 is a detector number - see table below
|
... | ... | @@ -192,7 +192,7 @@ fit_centroid(n) # to calculate avg centroid position during scan n |
|
|
```
|
|
|
|
|
|
|
|
|
## Using nData
|
|
|
## nData
|
|
|
```python
|
|
|
from Macros_29id.IEX_nData import *
|
|
|
|
... | ... | @@ -219,7 +219,7 @@ plt.show() |
|
|
```
|
|
|
|
|
|
|
|
|
## Using mdaFile
|
|
|
## mdaFile
|
|
|
```python
|
|
|
mydata=mdaFile(1,3) # loads mda scans 1 to 3
|
|
|
mydata.update(4) # loads another scan
|
... | ... | @@ -230,7 +230,7 @@ mydata.header[3].UB # return dictionary of UB metadata |
|
|
|
|
|
<br>
|
|
|
|
|
|
# Detector Number
|
|
|
# detector number
|
|
|
|
|
|
| Detector | Det Number Raw signal | Det Number Det/I0 | Description | PV | Controller |
|
|
|
|:--------: |:---------------------: |:-------------------: |:-----------------------------------------------------: |:--------------------------: |:----------: |
|
... | ... | |