Skip to content

Fix 122 bespoke measurement configurations - #123

Open
dehoni wants to merge 3 commits into
ISISNeutronMuon:masterfrom
dehoni:Fix_122_bespoke_measurement_configurations
Open

Fix 122 bespoke measurement configurations#123
dehoni wants to merge 3 commits into
ISISNeutronMuon:masterfrom
dehoni:Fix_122_bespoke_measurement_configurations

Conversation

@dehoni

@dehoni dehoni commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Instrument(s)

ZOOM

Story/Acceptance criteria

As an instrument scientist it would be nice to have predefined configurations that setup the instrument always in a predicable way. This can be standard measurement modes (4m,8m) or more complex measurements like polarised beam experiments where one would switch between different flipper states. Also I would like to engage the ISIS and chopper vetos before a measurement to ensure that the data are valid.

Issue/Ticket Reference

Fixes issue 122 #122


Code Review

  • Is the story/acceptance criteria fulfilled?
  • Is the code of an acceptable quality?
  • Are the tests sufficient?
  • Do the changes function as described and is it robust?
  • Are the changes able to work across all intended instruments?

Final Steps

  • Are there any changes to instrument configurations required?
  • Are there any changes to instrument scripts required, e.g. change on script signature, default argument and have these been communicated?
  • Does the script need to be deployed onto the instrument?

@dehoni
dehoni requested a review from rprospero as a code owner August 11, 2026 15:10
def do_trans(self, title=None, pos=None, thickness=1.0, dae="transmission",
aperture="", period=None, time=None, dls_sample_changer=False, **kwargs):
"""A wrapper around ``measure`` which ensures that the instrument is
in transition mode before running the measurement if a title is given. It ensures that the

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do_sans and do_trans should have default. Some people setup the instrument with do_trans or do_sans and then just do a begin to quickly check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants