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,14 +195,24 @@ 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 +|((( 198 198 ##**slit_eh2, rx=1 (rz=1)**## 199 199 )))|((( 200 -moves eh2 slit aperture horizontally (vertically) by 1mm , **works analoguous for slit_oh and slit_ps2**210 +moves eh2 slit aperture horizontally (vertically) by 1 mm 201 201 ))) 202 202 |((( 203 -##**slit_eh2, rd z=1 (rdz=1)**##213 +##**slit_eh2, rdx=1 (rdz=1)**## 204 204 )))|((( 205 -opens eh2 the slit aperture horizontally (vertically) by 1 mm , **works analoguous for slit_oh and slit_ps2**215 +opens eh2 the slit aperture horizontally (vertically) by 1 mm 206 206 ))) 207 207 |((( 208 208 ##**slit_info**## ... ... @@ -212,7 +212,7 @@ 212 212 213 213 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) 214 214 215 -== {{id name="IDLcheatsheet-Makeimages"/}}Make images == 225 +== {{id name="IDLcheatsheet-Makeandsaveimages"/}}Make and save images == 216 216 217 217 (% class="wrapped fixed-table" %) 218 218 |=((( ... ... @@ -221,22 +221,28 @@ 221 221 description 222 222 ))) 223 223 |((( 224 -##**i=quick(100) & tv_quick, i & draw_box, [ x1, x2 ,z1 ,z2 ]**## 234 +##**i=quick(100) & display_image, BYSTCL(i, 0, 4096) 235 +**## 225 225 )))|((( 226 -make an image & s howimage&drawbox237 +make an image & scale image (eg. from 0 to 4096, usually from 0 to maximum value the camera can do) 227 227 ))) 228 228 |((( 229 -##**a=quick_abs(100) & tv_quick, a& draw_box,[ x1,x2,z1 ,z2 ]**##240 +##**a=quick_abs(100) & display_image, BYTSCL(a, 0, 2)**## 230 230 )))|((( 231 -make an absorption image & s howimage&drawbox242 +make an absorption image & scale image (usually from 0 to to 2) 232 232 ))) 233 233 |((( 234 -##**write_tiff, '/gpfs/current/raw/test.tif', i, /SHORT**## 245 +##**write_tiff, '/gpfs/current/raw/test_projection.tif', i, /SHORT**## 235 235 )))|((( 236 -save i as 16-bit tiff in /gpfs/... 247 +save i as 16-bit integer tiff in /gpfs/... 237 237 ))) 249 +|((( 250 +##**write_tiff, '/gpfs/current/raw/test_absorption.tif', a, /FLOAT**## 251 +)))|((( 252 +save a as 32-bit float tiff in /gpfs/... 253 +))) 238 238 239 -== {{id name="IDLcheatsheet-M onochromatorpositioning"/}}Monochromatorpositioning ==255 +== {{id name="IDLcheatsheet-DCMpositioning"/}}DCM positioning == 240 240 241 241 (% class="wrapped fixed-table" %) 242 242 |=((( ... ... @@ -247,13 +247,6 @@ 247 247 motion 248 248 ))) 249 249 |((( 250 -##**calc_dcm_energy, 10000, /set**## 251 -)))|((( 252 -set DCM and undulator to 10 keV 253 -)))|((( 254 -\\ 255 -))) 256 -|((( 257 257 ##**dcm_pitch, 0.00001**## 258 258 )))|((( 259 259 move 2nd crystal pitch by 0.00001 deg ... ... @@ -274,7 +274,33 @@ 274 274 )))|((( 275 275 \\ 276 276 ))) 286 + 287 +== {{id name="IDLcheatsheet-DMMpositioning"/}}DMM positioning == 288 + 289 +(% class="fixed-table" %) 290 +|=((( 291 +IDL command 292 +)))|=((( 293 +description 294 +)))|=((( 295 +motion 296 +))) 277 277 |((( 298 +##**dmm_x2_rot, 0.001**## 299 +)))|((( 300 +move 2nd crystal pitch by 0.00001 deg 301 +)))|((( 302 +relative [ deg ] 303 +))) 304 +|((( 305 +##**goto_dmm_x2_rot, 0.8923 306 +**## 307 +)))|((( 308 +move 2nd crystal pitch to 0.8923 deg 309 +)))|((( 310 +absolute [ deg ] 311 +))) 312 +|((( 278 278 ##**gap, 0.01**## 279 279 )))|((( 280 280 move undulator gap relative by 0.01 mm ... ... @@ -289,6 +289,37 @@ 289 289 absolute [ mm ] 290 290 ))) 291 291 327 +== {{id name="IDLcheatsheet-Undulatorpositioning"/}}Undulator positioning == 328 + 329 +(% class="fixed-table" %) 330 +|=((( 331 +IDL command 332 +)))|=((( 333 +description 334 +)))|=((( 335 +motion 336 +))) 337 +|((( 338 +##**gap, 0.01**## 339 +)))|((( 340 +move undulator gap relative by 0.01 mm 341 +)))|((( 342 +relative [ mm ] 343 +))) 344 +|((( 345 +##**goto_gap, 10.0**## 346 +)))|((( 347 +move undulator gap absolute to 10.0 mm 348 +)))|((( 349 +absolute [ mm ] 350 +))) 351 + 352 +{{info title="Monochromator positioning"}} 353 +ATTENTION: Setting up a Monochromator as well as positioning front end slits is **only** done by the beamline staff! 354 +{{/info}} 355 + 356 +\\ 357 + 292 292 == {{id name="IDLcheatsheet-Generalsyntax"/}}General syntax == 293 293 294 294 (% class="wrapped relative-table" style="width: 45.5603%;" %)
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -1797834 581 +179783463 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://confluence.desy.de/spaces/P5I/pages/1797834 58/IDL cheat sheet1 +https://confluence.desy.de/spaces/P5I/pages/179783463/IDL cheat sheet