DiamondLightSource / DiamondLightSource/diffcalc

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

Open
#4 0 comments 0 reactions 0 assignees Claimed by @robwalton View on GitHub
Dominant language
Python
Stars
22
Forks
18
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.