Wiki source code of IDL cheat sheet
Version 6.1 by moosmanj on 2018/05/28 16:16
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | This is an overview of the most commonly used commands during a beamtime. | ||
2 | |||
3 | == {{id name="IDLcheatsheet-Samplepositioning"/}}Sample positioning == | ||
4 | |||
5 | (% class="wrapped" %) | ||
6 | |=((( | ||
7 | IDL command | ||
8 | )))|=((( | ||
9 | description | ||
10 | )))|=((( | ||
11 | motion | ||
12 | ))) | ||
13 | |((( | ||
14 | s_stage_x/z | ||
15 | )))|((( | ||
16 | move rotation stage in x/z-direction | ||
17 | )))|((( | ||
18 | relative [ mm ] | ||
19 | ))) | ||
20 | |((( | ||
21 | s_pos_x/y/z | ||
22 | )))|((( | ||
23 | move sample stage in x/y/z-direction | ||
24 | )))|((( | ||
25 | relative [ mm ] | ||
26 | ))) | ||
27 | |((( | ||
28 | s_rot, 90 | ||
29 | )))|((( | ||
30 | rotate rotation stage to 90 degrees | ||
31 | )))|((( | ||
32 | absolute [ deg ] | ||
33 | ))) | ||
34 | |||
35 | == {{id name="IDLcheatsheet-Detectorpositioning"/}}Detector positioning == | ||
36 | |||
37 | |=((( | ||
38 | IDL comman | ||
39 | )))|=((( | ||
40 | description | ||
41 | )))|=((( | ||
42 | motion | ||
43 | ))) | ||
44 | |((( | ||
45 | pressure_on | ||
46 | )))|((( | ||
47 | enable detector y movement | ||
48 | )))|((( | ||
49 | \\ | ||
50 | ))) | ||
51 | |((( | ||
52 | o_ccd_dist, 5 | ||
53 | )))|((( | ||
54 | move detector in y direction | ||
55 | )))|((( | ||
56 | relative [ mm ] | ||
57 | ))) | ||
58 | |((( | ||
59 | pressure_off | ||
60 | )))|((( | ||
61 | disable detector movement | ||
62 | )))|((( | ||
63 | \\ | ||
64 | ))) | ||
65 | |||
66 | == {{id name="IDLcheatsheet-Monochromatorpositioning"/}}Monochromator positioning == | ||
67 | |||
68 | (% class="relative-table wrapped" style="width: 52.0982%;" %) | ||
69 | |=((( | ||
70 | IDL command | ||
71 | )))|=((( | ||
72 | description | ||
73 | )))|=((( | ||
74 | motion | ||
75 | ))) | ||
76 | |((( | ||
77 | calc_dcm_energy, 10000, /set | ||
78 | )))|((( | ||
79 | set DCM and undulator to 10 keV | ||
80 | )))|((( | ||
81 | \\ | ||
82 | ))) | ||
83 | |((( | ||
84 | dcm_pitch, 0.00001 | ||
85 | )))|((( | ||
86 | move 2nd crystal pitch by 0.00001 deg | ||
87 | )))|((( | ||
88 | relative [ deg ] | ||
89 | ))) | ||
90 | |((( | ||
91 | goto_dcm_pitch, -0.03976 | ||
92 | )))|((( | ||
93 | move 2nd crystal pitch to -0.03976 deg | ||
94 | )))|((( | ||
95 | absolute [ deg ] | ||
96 | ))) | ||
97 | |((( | ||
98 | reflex_opt | ||
99 | )))|((( | ||
100 | move 2nd crystal pitch to optimal flux position | ||
101 | )))|((( | ||
102 | \\ | ||
103 | ))) |