Changes for page IDL cheat sheet

Last modified by fwilde on 2025/03/28 19:55

From version 16.1
edited by fwilde
on 2018/11/08 16:19
Change comment: There is no comment for this version
To version 28.1
edited by fwilde
on 2018/12/18 12:09
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,5 +1,13 @@
1 1  This is an overview of the most commonly used commands during a beamtime.
2 2  
3 +== {{id name="IDLcheatsheet-Coordinatesystem"/}}Coordinate system ==
4 +
5 +Right-handed coordinate system with y-direction along the x-ray beam.
6 +
7 +\\
8 +
9 +[[image:attach:p05_uct.png||width="700"]]
10 +
3 3  == {{id name="IDLcheatsheet-Samplepositioning"/}}Sample positioning ==
4 4  
5 5  (% class="wrapped fixed-table" %)
... ... @@ -18,13 +18,20 @@
18 18  relative [ mm ]
19 19  )))
20 20  |(((
21 -s_pos_x/y/z, 1
29 +s_pos_z, 1
22 22  )))|(((
23 -move sample stage in x/y/z-direction by 1 mm
31 +move sample stage in z-direction by 1 mm,
24 24  )))|(((
25 25  relative [ mm ]
26 26  )))
27 27  |(((
36 +s_pos_lateral, 1
37 +)))|(((
38 +move sample stage in x-direction by 1 mm, regardless of position of rotation axis
39 +)))|(((
40 +relative [ mm ]
41 +)))
42 +|(((
28 28  s_angle, 90
29 29  )))|(((
30 30  rotate sample around z axis
... ... @@ -53,7 +53,11 @@
53 53  predefined
54 54  )))
55 55  
56 -(% class="relative-table wrapped" style="width: 54.6188%;" %)
71 +\\
72 +
73 +\\
74 +
75 +(% class="relative-table wrapped" style="width: 63.2385%;" %)
57 57  |=(((
58 58  IDL command
59 59  )))|=(((
... ... @@ -83,7 +83,7 @@
83 83  absolute [ deg ]
84 84  )))
85 85  
86 -(% class="relative-table wrapped" style="width: 43.5484%;" %)
105 +(% class="relative-table wrapped" style="width: 51.477%;" %)
87 87  |=(((
88 88  IDL command
89 89  )))|=(((
... ... @@ -194,10 +194,17 @@
194 194  )))|(((
195 195  \\
196 196  )))
216 +|(((
217 +gap, 0.01
218 +)))|(((
219 +move undulator gap by 0.01 mm
220 +)))|(((
221 +relative [ mm ]
222 +)))
197 197  
198 198  == {{id name="IDLcheatsheet-Saveanimageastiff"/}}Save an image as tiff ==
199 199  
200 -(% class="wrapped" %)
226 +(% class="wrapped relative-table" style="width: 60.1204%;" %)
201 201  |=(((
202 202  IDL command
203 203  )))|=(((
... ... @@ -208,3 +208,32 @@
208 208  )))|(((
209 209  save i as 16-bit tiff in /gofs/...
210 210  )))
237 +
238 +== {{id name="IDLcheatsheet-Generalremarks"/}}General remarks ==
239 +
240 +(% class="wrapped relative-table" style="width: 51.5317%;" %)
241 +|=(((
242 +Functionality
243 +)))|=(((
244 +IDL syntax
245 +)))
246 +|(((
247 +Chaining commands
248 +)))|(((
249 +command_1 **&** command_2 **&** ...
250 +)))
251 +|(((
252 +absolute movement
253 +)))|(((
254 +**goto_**//motor//, position
255 +)))
256 +|(((
257 +relative movement
258 +)))|(((
259 +//motor//, position
260 +)))
261 +|(((
262 +current motor position
263 +)))|(((
264 +**pos_**//motor//()
265 +)))
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -109150251
1 +116602080
URL
... ... @@ -1,1 +1,1 @@
1 -https://confluence.desy.de/spaces/P5I/pages/109150251/IDL cheat sheet
1 +https://confluence.desy.de/spaces/P5I/pages/116602080/IDL cheat sheet