Skip to content

Control sofware Borealis

This section provides a brief description of the control sofware of Revontuli, named Borealis. More detailed information is available in the Borealis repository on Github, and in Borealis's own documentation.

Preparing the virtual environment

A conda environment has been created for Borealis. To activate it, open the Anaconda prompt and run:

conda activate borealis

Launching the script

All commands and definitions for moving the motors and doing scans are in a configuration file/script, e.g., revontuli_XAS.py.

The script can be launched with:

ipython -i /path/to/revontuli_XAS.py

Commands

  • theta.amove(Bragg angle in degrees) moves the tube and monochromator(crystal) to the given Bragg angle
  • tubex.rmove(x-axis(mm)) moves relatively the x-ray tubes motors on the x-axis
  • tubey.rmove(y-axis(mm)) moves relatively the x-ray tubes motors on the y-axis
  • tubex.where() tells you what the position is on the x-axis
  • tubey.where() tells you what the position is on the y-axis
  • theta.where() lists the positions of the motors that the pseudo motor theta consists of