id4_common.utils.wax#

Motor position display utilities (wm, wax, wa_scan, wa_new).

Module Contents#

id4_common.utils.wax.cat#
id4_common.utils.wax.wm(*args)#

Print a table of current position and travel limits for the given motors.

id4_common.utils.wax.wax(scan=None, motor=None, device='motor', display_missed=False)#

Display current and past motor values

Parameters:
  • number (scan) – Scan number of any scan

  • name (device) – If None all motor positions will be deisplayed.

  • name – Default’ is “motor”, used to find devices in the registry. Other possibilities include “detector”, “sensor”, “actuator”, etc.

Examples

wa(): current position of all motors wa(‘motor’): current position of motors containing ‘motor’ wa(42, ‘motor’): current position of motors containing ‘motor’ of scan wa(42): current position of all motors in scan 42

id4_common.utils.wax.wa_scan(scan=None, motor=None)#

Print motor positions recorded in the baseline stream of a past scan.

id4_common.utils.wax.wa_new(motor=None)#

Print current position and limits for all motors, optionally filtered by name.