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