Elena Pascal
Elena Pascal
If anyone else is interested in extending this to all direction quadrants,[ here is the solution I settled on](https://gist.github.com/elena-pascal/e718f80f0067682ad2280dc6b440cac2).
What is the intended behaviour? Center of pixel is integer or edge of pixel is integer?
If pixel edges are desired to be integers, that is not what is happening at the moment.
For documentation purposes, removing the `-0.5` from [this line](https://github.com/dials/dials/blob/main/src/dials/util/image_viewer/slip_viewer/frame.py#L450-L452) fixes the offset between the cursor position and the read cursor position. It also fixes #2190. But I don't know why...
I guess we can at least close one of the issues since they seem duplicate
I agree with David, in the sense that while the fix fixes the current raised issue it is pushing the underlying problem further down the road. The changes between pixel...
Interesting. It does fix #2194 in the sense that the beam position shown in `image_viewer` is now the one in the metadata. My hope was that the image would be...
@phyy-nx sorry, I don't understand. Do you not see the image?
This might work [db_01_00001.cbf.gz](https://github.com/dials/dials/files/9822420/db_01_00001.cbf.gz)