silx-kit / pyFAI

Fast Azimuthal Integration in Python
Other
104 stars 95 forks source link

Create option to apply polarization directly (i.e. not a weighted average) #1998

Closed kif closed 5 months ago

kif commented 11 months ago

For more details, see the discussion with the AzInt team on the pyFAI mailing list.

emilymassahud commented 6 months ago

Hi Jerome, I have been in contact with MAX IV scientist trying to understand this, but I don't quite fully grasp this yet, so I'd like to kindly ask a few questions about it.. From azint code I saw they apply all the corrections to each individual pixel of the data after polar transformation to radial and azimuthal angle, and then they perform the sparse matrix multiplication using CSR method.

kif commented 6 months ago

Contribution from the MaxIV diffraction & scattering group errorPropAziInt.pdf

kif commented 5 months ago

This is all done now. See the documentation in https://github.com/silx-kit/pyFAI/tree/main/doc/source/usage/tutorial/Variance/Unweighted.ipynb