DiamondLightSource / DiamondLightSource/dodal

OAV centring device - add logic for errors as a sanity check

Open
#1,751 0 comments 0 reactions 1 assignee Claimed by @srishtysajeev View on GitHub
Dominant language
Python
Stars
5
Forks
13
Avg merge
3d 2h
Merged PRs (30d)
10

Description

For i04 centring device we want to make sure that the centre is correct with some confidence. fit a guassian to the array at calculated cX and cY and compare mu with the data and check that it is within some range say +- 5 pixels. Also get a value for the residuals of data vs fit and check that this number is not too far from 0. If the residuals is high we know that something has gone wrong.

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.