... | ... | @@ -3,8 +3,6 @@ |
|
|
|
|
|
# Outline:
|
|
|
|
|
|
.. contents:: contents
|
|
|
|
|
|
- [detectors](#Detectors)
|
|
|
- [energy](#Energy)
|
|
|
- [diffractometer](#Diffractometer)
|
... | ... | @@ -21,7 +19,7 @@ |
|
|
|
|
|
<br>
|
|
|
|
|
|
# Detectors:
|
|
|
## Detectors:
|
|
|
|
|
|
|
|
|
| Name | Description | Ang. acceptance<br>HxV (deg) | Offset | Max tth | Det Num | Det/ $I_0$ Num |
|
... | ... | @@ -46,7 +44,7 @@ See below for a complete list of signals recorded during a scan and their corres |
|
|
|
|
|
<br>
|
|
|
|
|
|
# Energy:
|
|
|
## Energy:
|
|
|
|
|
|
|
|
|
```python
|
... | ... | @@ -145,33 +143,25 @@ roi=4; MPA_ROI_SetUp(535,539,400,400,roi) #set up ROI4 = 400x400 at the center |
|
|
<br>
|
|
|
|
|
|
# Vortex
|
|
|
For detailed instructions see [manual here](https://anl.box.com/s/zr9y3vsyex2ut7axaipifn8f92i2dk8x).
|
|
|
For detailed instructions on how to turn vortex on/off and set parameters see [manual here](https://git.aps.anl.gov/rodolakis/Macros_29id/-/wikis/RSXS/vortex).
|
|
|
|
|
|
|
|
|
```python
|
|
|
from vortexs29 import *
|
|
|
|
|
|
mcaoff() # Turns off vortex
|
|
|
# Go to workspace 2 left monitor terminal and ctrl-C to kill software
|
|
|
|
|
|
mcaon() # Turns vortex on
|
|
|
# Wait for 5 mins
|
|
|
# Go to terminal in workspace 2: on [sleepy] up arrow to 'startvortex' & hit enter;
|
|
|
# After running change gain to 2.7 and then back to 2.5 (toggle several times if needed, until signal is clean)
|
|
|
|
|
|
vortex(855) # Sets vortex window based upon calibration
|
|
|
t=6;cts(t);mcacounttime(t) # Sets mca count time in secs and other det count time to 6; need to set both
|
|
|
mcacounttime(2) # Sets count time for mca and other det to 2s
|
|
|
```
|
|
|
3 different acquisition modes:
|
|
|
2 different acquisition modes:
|
|
|
```python
|
|
|
nomca() # chooses to ignore mca and removes detectors from list
|
|
|
|
|
|
nosavemca() # uses mca ROI1 to record the FY and ROI2 to record PFY
|
|
|
mcascan() # adds vortex channels as detectors in scan detector list (see detector numbers below)
|
|
|
# adds trigger to run mca in scan
|
|
|
|
|
|
savemca() # same + saves mca spectra taken at each point of the scan
|
|
|
mcascan(save=True) # same as above + saves mca spectra taken at each point of the scan
|
|
|
# save directory is determined by mda directory in scan record
|
|
|
# MCA spectra are saved into subdirectories of the scan files /Sscan#
|
|
|
# MCA spectra are saved into subdirectories of the scan files / scan#
|
|
|
|
|
|
mcascan(add_vortex=False) # chooses to ignore vortex chanels and removes them from scan detector list
|
|
|
|
|
|
```
|
|
|
|
|
|
<br>
|
... | ... | @@ -246,19 +236,19 @@ mydata.header[3].UB # return dictionary of UB metadata |
|
|
|:--------: |:---------------------: |:-------------------: |:-----------------------------------------------------: |:--------------------------: |:----------: |
|
|
|
| | | | | | |
|
|
|
| Mesh | 31 | n/a | Incident energy (I0) | 29idMZ0:scaler1.S14 | SRS1 |
|
|
|
| TEY | 32 | 36 | Total Electron Yield | 29idMZ0:scaler1.S2 | SRS2 |
|
|
|
| D3 | 33 | 37 | Big diode (2.5 deg) | 29idMZ0:scaler1.S3 | SRS3 |
|
|
|
| D4 | 34 | 38 | Small diode (0.15 deg) | 29idMZ0:scaler1.S4 | SRS4 |
|
|
|
| TEY | 32 | 36 | Total Electron Yield | 29idMZ0:scaler1.S2 29idMZ0:scaler1_calc1.B | SRS2 |
|
|
|
| D3 | 33 | 37 | Big diode (2.5 deg) | 29idMZ0:scaler1.S3 29idMZ0:scaler1_calc1.C | SRS3 |
|
|
|
| D4 | 34 | 38 | Small diode (0.15 deg) | 29idMZ0:scaler1.S4 29idMZ0:scaler1_calc1.D | SRS4 |
|
|
|
| | | | | | |
|
|
|
| MCP | 35 | 39 | TFY - analog signal | 29idMZ0:scaler1.S5 | MPA |
|
|
|
| MCP | 35 | 39 | TFY - analog signal | 29idMZ0:scaler1.S5 29idMZ0:scaler1_calc1.E | MPA |
|
|
|
| MCP ROI1 | 41 | | 50x50 ROI centered on MCP center | 29iddMPA:Stats1:Total_RBV | |
|
|
|
| MCP ROI2 | 42 | | 100x100 ROI centered on MCP center | 29iddMPA:Stats2:Total_RBV | |
|
|
|
| MCP ROI3 | 43 | | 200x200 ROI centered on MCP center | 29iddMPA:Stats3:Total_RBV | |
|
|
|
| MCP ROI4 | 44 | | 400x400 ROI centered on MCP center | 29iddMPA:Stats4:Total_RBV | |
|
|
|
| MCP ROI5 | 45 | | MCP integrated intensity (stats) | 29iddMPA:Stats5:Total_RBV | |
|
|
|
| | | | | | |
|
|
|
| Vortex | 16 | 49 | TFY - centered on desired energy | 29iddMPA:Stats1:Total_RBV | |
|
|
|
| Vortex | 17 | 50 | TFY - centered on Oxygen energy | | |
|
|
|
| Vortex | 16 | 49 | TFY - centered on desired energy | 29idVORTEX:mca1.R0 29idd:userTran1.D| |
|
|
|
| Vortex | 17 | 50 | TFY - centered on Oxygen energy | 29idVORTEX:mca1.R1 29idd:userTran1.E | |
|
|
|
| | | | | | |
|
|
|
| H | 46 | | Miller index | 29idKappa:userArrayCalc1.L | |
|
|
|
| K | 47 | | Miller index | 29idKappa:userArrayCalc2.L | |
|
... | ... | |