Changes for page IDL cheat sheet
Last modified by fwilde on 2025/03/28 19:55
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -195,24 +195,14 @@ 195 195 description 196 196 ))) 197 197 |((( 198 -##**slit_oh, rx=1 (rz=1)**## 199 -)))|((( 200 -moves oh slit aperture horizontally (vertically) by 1mm 201 -))) 202 -|((( 203 -##**slit_oh, rdx=1 (rdz=1)**## 204 -)))|((( 205 -opens oh the slit aperture horizontally (vertically) by 1 mm 206 -))) 207 -|((( 208 208 ##**slit_eh2, rx=1 (rz=1)**## 209 209 )))|((( 210 -moves eh2 slit aperture horizontally (vertically) by 1 200 +moves eh2 slit aperture horizontally (vertically) by 1mm , **works analoguous for slit_oh and slit_ps2** 211 211 ))) 212 212 |((( 213 -##**slit_eh2, rd x=1 (rdz=1)**##203 +##**slit_eh2, rdz=1 (rdz=1)**## 214 214 )))|((( 215 -opens eh2 the slit aperture horizontally (vertically) by 1 mm 205 +opens eh2 the slit aperture horizontally (vertically) by 1 mm, **works analoguous for slit_oh and slit_ps2** 216 216 ))) 217 217 |((( 218 218 ##**slit_info**## ... ... @@ -222,7 +222,7 @@ 222 222 223 223 rx, rdx, rz and rdz can be concatenated in one command (e.g. slit_oh, rx=1, rz=-2, rdx=0.5, rdz=0.5) 224 224 225 -== {{id name="IDLcheatsheet-Make andsaveimages"/}}Makeand saveimages ==215 +== {{id name="IDLcheatsheet-Makeimages"/}}Make images == 226 226 227 227 (% class="wrapped fixed-table" %) 228 228 |=((( ... ... @@ -231,39 +231,23 @@ 231 231 description 232 232 ))) 233 233 |((( 234 -##**i=quick(100) & display_image, BYSTCL(i, 0, 4096) 235 -**## 224 +##**i=quick(100) & tv_quick, i & draw_box, [ x1, x2 ,z1 ,z2 ]**## 236 236 )))|((( 237 -make an image & s caleimage(eg.from 0 to 4096, usuallyfrom 0 to maximum value the camera can do)226 +make an image & show image & draw box 238 238 ))) 239 239 |((( 240 -##**a=quick_abs(100) & display_image,BYTSCL(a,0, 2)**##229 +##**a=quick_abs(100) & tv_quick, a & draw_box, [ x1, x2 ,z1 ,z2 ]**## 241 241 )))|((( 242 -make an absorption image & s caleimage(usuallyfrom0 toto 2)231 +make an absorption image & show image & draw box 243 243 ))) 244 244 |((( 245 -##**write_tiff, '/gpfs/current/raw/test _projection.tif', i, /SHORT**##234 +##**write_tiff, '/gpfs/current/raw/test.tif', i, /SHORT**## 246 246 )))|((( 247 -save i as 16-bit integer tiff in /gpfs/...236 +save i as 16-bit tiff in /gpfs/... 248 248 ))) 249 -|((( 250 -##**write_tiff, '/gpfs/current/raw/test_absorption.tif', a, /FLOAT**## 251 -)))|((( 252 -save a as 32-bit float tiff in /gpfs/... 253 -))) 254 254 255 - \\239 +== {{id name="IDLcheatsheet-Monochromatorpositioning"/}}Monochromator positioning == 256 256 257 -\\ 258 - 259 -{{info title="Monochromator positioning"}} 260 -ATTENTION: Setting up a Monochromator as well as positioning front end slits is **only** done by the beamline staff! 261 - 262 -The commands above may be used by users to realign the beam should it beam profile drift with time. 263 -{{/info}} 264 - 265 -== {{id name="IDLcheatsheet-DCMpositioning"/}}DCM positioning == 266 - 267 267 (% class="wrapped fixed-table" %) 268 268 |=((( 269 269 IDL command ... ... @@ -273,6 +273,13 @@ 273 273 motion 274 274 ))) 275 275 |((( 250 +##**calc_dcm_energy, 10000, /set**## 251 +)))|((( 252 +set DCM and undulator to 10 keV 253 +)))|((( 254 +\\ 255 +))) 256 +|((( 276 276 ##**dcm_pitch, 0.00001**## 277 277 )))|((( 278 278 move 2nd crystal pitch by 0.00001 deg ... ... @@ -293,35 +293,21 @@ 293 293 )))|((( 294 294 \\ 295 295 ))) 296 - 297 -== {{id name="IDLcheatsheet-DMMpositioning"/}}DMM positioning == 298 - 299 -(% class="fixed-table wrapped" %) 300 -|=((( 301 -IDL command 302 -)))|=((( 303 -description 304 -)))|=((( 305 -motion 306 -))) 307 307 |((( 308 -##** dmm_x2_rot, 0.001**##278 +##**gap, 0.01**## 309 309 )))|((( 310 -move 2ndcrystal pitchby 0.00001deg280 +move undulator gap relative by 0.01 mm 311 311 )))|((( 312 -relative deg]282 +relative [ mm ] 313 313 ))) 314 314 |((( 315 -##**goto_dmm_x2_rot, 0.8923 316 -**## 285 +##**goto_gap, 10.0**## 317 317 )))|((( 318 -move 2ndcrystal pitchto 0.8923deg287 +move undulator gap absolute to 10.0 mm 319 319 )))|((( 320 -absolute deg]289 +absolute [ mm ] 321 321 ))) 322 322 323 -\\ 324 - 325 325 == {{id name="IDLcheatsheet-Generalsyntax"/}}General syntax == 326 326 327 327 (% class="wrapped relative-table" style="width: 45.5603%;" %)
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -1797834 661 +179783458 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://confluence.desy.de/spaces/P5I/pages/1797834 66/IDL cheat sheet1 +https://confluence.desy.de/spaces/P5I/pages/179783458/IDL cheat sheet