demo

This is the demo macro module

sar_demo(self, elements)[source]

Set up a demo environment with controllers, elements and instruments.

The optional elements parameter overrides the default number of elements created per supported element type.

clear_sar_demo(self)[source]

Remove controllers, elements, measurement groups and instruments created by sar_demo.

sar_demo_hkl(self)[source]

Set up a demo environment with additional HKL diffractometer elements.

This first prepares the base sar_demo environment, then creates the HKL motor and pseudo-motor controllers.

clear_sar_demo_hkl(self)[source]

Remove controllers and elements created by sar_demo_hkl.