DiamondLightSource / DiamondLightSource/mx-bluesky

Clean up how we get beam-specific constants

Open
#1,068 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4
Forks
5
Avg merge
1d 30m
Merged PRs (30d)
2

Description

> Could: This is messy to have here, it would be better to have some function like `get_beamline_constants` and that
> would give you an object like `I03Constants` for each beamline

_Originally posted by @DominicOram in https://github.com/DiamondLightSource/mx-bluesky/pull/1059#discussion_r2086962637_

Currently `DETECTOR_SIZE_PER_BEAMLINE` sits in `common/gridscan.py`. This is messy and we should create a function that gives us constants object for a certain beamline.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.