DiamondLightSource / DiamondLightSource/diffcalc

GDA: Axis constraint Scannables naming convention is unintuitive ('You' engine)

Offen
#4 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Beansprucht von @robwalton Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
22
Forks
18
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Where an axis (e.g. gamma) may be fixed by a constraint an _con Scannable is created rather than an Scannable in order to avoid a namespace clash with that axis' actual Scannable. This is unintuitive.

One solution is for Diffcalc to read up the last set value for an axis when that axes is constrained.

However if the axis is Scanned while hkl is held still this would result in two motor moves. This could be resolved by making the physical axis Scannables the same level as the hkl Scannable and treating them as a group, although this is a pretty heavy solution.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.