DiamondLightSource / DiamondLightSource/diffcalc

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

未关闭
#4 0 条评论 0 个 reaction 已指派 0 人 已被 @robwalton 认领 在 GitHub 查看
主要语言
Python
星标
22
派生
18
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先跟踪 GDA 如何创建轴约束 Scannables,以及物理轴扫描和 hkl 扫描是如何处理的。将提议的最后值查找与分组 Scannable 方法进行比较,尤其注意避免两次电机移动。当扫描某个轴而 hkl 保持不动时,命名约定仍然直观且不会导致重复移动,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
tooling
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。