Wiki source code of IDL cheat sheet
Version 4.1 by fwilde on 2018/04/09 10:32
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | This is an overview of the most commonly used commands during a beamtime. | ||
2 | |||
3 | (% class="wrapped" %) | ||
4 | |=((( | ||
5 | IDL command | ||
6 | )))|=((( | ||
7 | description | ||
8 | )))|=((( | ||
9 | motion | ||
10 | ))) | ||
11 | |((( | ||
12 | s_stage_x/y/z | ||
13 | )))|((( | ||
14 | move rotation stage in x/y/z-direction | ||
15 | )))|((( | ||
16 | relative [ mm ] | ||
17 | ))) | ||
18 | |((( | ||
19 | s_pos_x/y/z | ||
20 | )))|((( | ||
21 | move sample stage in x/y/z-direction | ||
22 | )))|((( | ||
23 | relative [ mm ] | ||
24 | ))) | ||
25 | |((( | ||
26 | s_angle, 90 | ||
27 | )))|((( | ||
28 | rotate rotation stage by 90 degrees | ||
29 | )))|((( | ||
30 | relative [ deg ] | ||
31 | ))) | ||
32 | |((( | ||
33 | goto_s_angle, 0 | ||
34 | )))|((( | ||
35 | rotation | ||
36 | )))|((( | ||
37 | \\ | ||
38 | ))) | ||
39 | |||
40 | (% class="relative-table wrapped" style="width: 52.0982%;" %) | ||
41 | |=((( | ||
42 | IDL command | ||
43 | )))|=((( | ||
44 | description | ||
45 | )))|=((( | ||
46 | motion | ||
47 | ))) | ||
48 | |((( | ||
49 | calc_dcm_energy, 10000, /set | ||
50 | )))|((( | ||
51 | set DCM and undulator to 10 keV | ||
52 | )))|((( | ||
53 | \\ | ||
54 | ))) | ||
55 | |((( | ||
56 | dcm_pitch, 0.00001 | ||
57 | )))|((( | ||
58 | move 2nd crystal pitch by 0.00001 deg | ||
59 | )))|((( | ||
60 | relative [ deg ] | ||
61 | ))) | ||
62 | |((( | ||
63 | goto_dcm_pitch, -0.03976 | ||
64 | )))|((( | ||
65 | move 2nd crystal pitch to -0.03976 deg | ||
66 | )))|((( | ||
67 | absolute [ deg ] | ||
68 | ))) | ||
69 | |((( | ||
70 | reflex_opt | ||
71 | )))|((( | ||
72 | move 2nd crystal pitch to optimal flux position | ||
73 | )))|((( | ||
74 | \\ | ||
75 | ))) |