IDL cheat sheet

Version 4.1 by fwilde on 2018-04-09 10:32

This is an overview of the most commonly used commands during a beamtime.

IDL command

description

motion

s_stage_x/y/z

move rotation stage in x/y/z-direction

relative [ mm ]

s_pos_x/y/z

move sample stage in x/y/z-direction

relative [ mm ]

s_angle, 90

rotate rotation stage by 90 degrees

relative [ deg ]

goto_s_angle, 0

rotation


IDL command

description

motion

calc_dcm_energy, 10000, /set

set DCM and undulator to 10 keV


dcm_pitch, 0.00001

move 2nd crystal pitch by 0.00001 deg

relative [ deg ]

goto_dcm_pitch,  -0.03976

move 2nd crystal pitch to -0.03976 deg

absolute [ deg ]

reflex_opt

move 2nd crystal pitch to optimal flux position