Skip to content

euXFEL HED: Multigeometry Detector

ZhangxiJesseFeng edited this page Jun 7, 2023 · 6 revisions

Setup the folder

After you have completed the setup of the rietveld environment, setup the files used for this example using:

milk-examples -e 7

This will copy the files for the euXFEL HED Multi-geometry detector example in the current folder. Note that due to the way MILK is installed, scripts inside the MILK/bin folder does not need ".py" in the call to be recognized. But in instances where a local python script is needed, we will see the use of the full command python script.py.

The images in this example have a lot of noise on part of many rings. Using pyFAI we will see that it has difficulty extracting all the points on the rings. However, with sufficient number of rings properly identified, the geometry fitting can still properly fit the rings. In the provided files, points1.npt shows when we took the time and fully identified the rings before fitting, while points2.npt shows many rings are only partially identified. But the geometry fits are both very good.

The integrated results from pyFAI are shown below:

det1:

image

det2:

image

In this tutorial exercise, let's adjust the fitting strategy in refine_no_ang_cal.py and refine_detector_ang_cal.py together to improve the fits after running the provided scripts. See below, the 1D and 2D integrations are missing some intensity on some of the peaks while the second detector, det2, of the detector calibration is both missing some intensity and the first few peaks of det2 are shifted.

1D integration results:

image

2D integration results:

image

Detector Results:

det1:

image

det2:

image

Clone this wiki locally