Improve X-ray centring
From Romain:
Today I noticed that we could improve the X-ray centring result presentation, executed manually and not within a workflow, in the list view and also get better performances by removing a few diffraction image thumbmail.
Taking this example: https://data2.esrf.fr/investigation/1758666594/datasets?sampleId=1938336561
There are 6 diffraction image thumbnail being loaded.
In this example, we would only need:
-
The chosen/best image from the mesh displayed instead of the first image of the mesh next to the heatmap
- Here /data/visitor/oa17/id23eh1/20241004/PROCESSED_DATA/PRO-01/PRO-01-911_CDF15-207/run_01_XrayCentering/diffraction_thumbnail_1_0241/gallery/diffraction_thumbnail.jpeg
- Displayed next the first image of the mesh (diffraction_thumbnail_1_0001) below the heat map in this example
- Here /data/visitor/oa17/id23eh1/20241004/PROCESSED_DATA/PRO-01/PRO-01-911_CDF15-207/run_01_XrayCentering/diffraction_thumbnail_1_0241/gallery/diffraction_thumbnail.jpeg
-
The chosen/best image from the line scan displayed instead of the first image of the line scan next to the blue graph
- Here should be /data/visitor/oa17/id23eh1/20241004/PROCESSED_DATA/PRO-01/PRO-01-911_CDF15-207/run_01_XrayCentering/diffraction_thumbnail_2_0085/gallery/diffraction_thumbnail.jpeg
- Not displayed in this example (bug)
- Here should be /data/visitor/oa17/id23eh1/20241004/PROCESSED_DATA/PRO-01/PRO-01-911_CDF15-207/run_01_XrayCentering/diffraction_thumbnail_2_0085/gallery/diffraction_thumbnail.jpeg
For manual X-ray centring, I would indeed display these images of interest thumbnails in “big”. I would even remove the mini thumbnail below the heatmap/graph unless you want to keep it consistent with how X-ray centring are presented when executed within an automated MXPRess workflow.
Indeed, when an X-ray centring is executed within an MXPress workflow, it is presented this compact way, which is nice :
https://data2.esrf.fr/investigation/1828023843/datasets?sampleId=1935230491
This is will also reduce the amount of data being loaded and contribute to increase the loading speed.