Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Beamline Energy Implementation

rtuck99 edited this page Nov 20, 2023 · 7 revisions

(Work In Progress)

Reverse Engineer from GDA

Currently beamline energy is controlled in GDA from within beamlineSpecificEnergy.py

There is a class beamLineSpecificEnergy which inherits from beamLineEnergy

To do the alignment there are two implementations AutomatedAlign and QuickAlign

in beamLineEnergy it basically does the equivalent of

	def align_beam(self, quick_align): # Re-align button
			if quick_align:
				self.QuickAlign()
			else:
				self.energyController.moveTo(self.getPosition())
				self.align_beam_worker()

The entry point for setting the energy is in beamLineEnergy.asynchronousMoveTo which overrides the asynchronousMoveTo in Scannable. ScannableMotionBase delegates moveTo to the async version

HandleCollectRequests

  • do_automated_align - appears to be unused