|
|
# Safe state
|
|
|
___
|
|
|
___
|
|
|
|
|
|
# content
|
|
|
|
|
|
- [safe state](#safe-state)
|
|
|
- [beamline controls](#beamline-controls)
|
|
|
- [sample position](#sample-position)
|
|
|
- [motor scans](#motor-scans)
|
|
|
- [electron analyzer](#electron-analyzer)
|
|
|
- [mcp](#mcp)
|
|
|
- [vortex](#vortex)
|
|
|
- [analysis](#analysis)
|
|
|
|
|
|
___
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## safe state
|
|
|
```python
|
|
|
Close_CBranch() # does the following: EA.off(); Close_CValve(); Close_CShutter()
|
|
|
```
|
|
|
|
|
|
|
|
|
# Beamline Controls
|
|
|
## beamline controls
|
|
|
```python
|
|
|
Get_All() # prints current beamline status
|
|
|
energy(932) #sets the energy (mono,undulator and slits)
|
... | ... | @@ -18,7 +38,7 @@ scanXAS #scans the mono with ID fixed (quick and dirty, huge backgrou |
|
|
scanXAS_BL #XAS scans: mono and ID move together (slow)
|
|
|
```
|
|
|
|
|
|
# Sample position
|
|
|
## sample position
|
|
|
```python
|
|
|
ARPES_transfer() # moves motors to transfer position
|
|
|
ARPES_measure() # moves motors to measure position
|
... | ... | @@ -26,14 +46,14 @@ ARPES_measure() # moves motors to measure position |
|
|
scanMesh([-1.5,1.5,.1],[12.5,14,5,.5]) #makes 2D image; EA.put before if you want EA counts
|
|
|
|
|
|
mprint() # gets a list of current motor positions
|
|
|
sample([list_from_mprint]) # to go to a position
|
|
|
mvsample([list_from_mprint]) # to go to a position
|
|
|
```
|
|
|
# Motor scans
|
|
|
## motor scans
|
|
|
if EA is on records total number of counts not spectra:
|
|
|
```python
|
|
|
scanx(start,stop,step) #x,y,z,theta,focus
|
|
|
```
|
|
|
# Electron Analyzer (Scienta)
|
|
|
## electron analyzer (Scienta)
|
|
|
```python
|
|
|
EA.off() # turns off analyzer
|
|
|
EA.get() # get current analyzer settings
|
... | ... | @@ -45,31 +65,28 @@ scanEA_hv(hvlist,EAlist=EAlist) # takes a spectra as a function of photon energy |
|
|
scanx_EA(EAlist, start,stop,step, mode) # takes a spectra as a function of x/y/z/th
|
|
|
```
|
|
|
|
|
|
# Loading the data and graphing
|
|
|
## analysis
|
|
|
|
|
|
### Loading data:
|
|
|
### loading data:
|
|
|
```python
|
|
|
data=IEXdata(start) # initializes the loading and loads filenumber start
|
|
|
data.update(start,inf,overwrite=False) # loads only unloaded data
|
|
|
```
|
|
|
<br>
|
|
|
|
|
|
### Ploting specta:
|
|
|
|
|
|
### ploting spectra:
|
|
|
*kwargs are the standard plotting kwargs plus some extras listing in the 'help'
|
|
|
```python
|
|
|
data.plotEA(MDAscanNum) # plot EA image
|
|
|
data.plotEDC(MDAscanNum) # angle integrated data
|
|
|
```
|
|
|
<br>
|
|
|
|
|
|
### Fermi maps:
|
|
|
Run in ipython_29id from the terminal
|
|
|
```python
|
|
|
EAImageTool(MDAscanNum) # stacks the data from a single mda file
|
|
|
```
|
|
|
<br>
|
|
|
|
|
|
### MDA scans:
|
|
|
### mda scans:
|
|
|
- det[16] => TEY
|
|
|
- det[17] => EA
|
|
|
```python
|
... | ... | @@ -80,9 +97,9 @@ data.mda[scanNum].detAll() # lists all detectors |
|
|
data.mda.keys() # lists all the mda data loaded
|
|
|
data.mda[scanNum].EA.keys() # lists all the EA data loaded for a give EA scan (useful for Fermi maps, multiple sweeps)
|
|
|
```
|
|
|
<br>
|
|
|
|
|
|
### Metadata:
|
|
|
|
|
|
### metadata:
|
|
|
```python
|
|
|
data.mda[scanNum].EA[EAnum].header.all # dictionary of all the meta data
|
|
|
data.mda[scanNum].EA[EAnum].header.hv # mono readback
|
... | ... | |