Example on using pyFAI and pixel splitting for azimuthal integration of DSSC
- Fix change in dask groupby not dropping dimension
- Adds an example notebook for azimuthal integration and pixels splitting
Close #46 (closed) #8 (closed)
Merge request reports
Activity
assigned to @lleguy
@kluyvert I'm adding to the SCS Toolbox documentation a simplified and reduced version of your notebook concerning the azimuthal integration of DSSC with pyFAI. Please let me know if that's ok with you or if I should change something (acknowledgment, links, whatever). Thanks.
That's absolutely fine.
As I mentioned, I'm planning to wrap the code to make a PyFAI detector object (and maybe an azimuthal integrator as well) up as a method in EXtra-geom - once that's available, I'd encourage you to update the example notebook to use it, which will save a few lines. We've got an issue about that here: https://github.com/European-XFEL/EXtra-geom/issues/135BTW, where the example has
Detector(236e-6, 204e-6)
, Jérôme pointed out that the dimensions are the wrong way round: it should beDetector(204e-6, 236e-6)
. It doesn't seem to make any difference for this, because we give coordinates for every corner of every pixel anyway, but we may as well have them correct.
- Resolved by Loïc Le Guyader
mentioned in commit 42769e28