Skip to content

Equivalence between 1D integrated data and 2D integrated data #2372

Answered by kif
loichuder asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Loic,

First of all one should understand how azimuthal integration is performed in pyFAI. For this, the best is to refer to the Eq. 2 and 4 in this document: https://arxiv.org/pdf/2411.09515 (the official paper will come out in February 2025).
Mean intensities and associated uncertainties (sem in the paper) are both ratio of sum of intensities, sum of partial variances and sum of normalizations.

The re-binning operation from 2d to 1d you are referring to are trivial to implement in numpy with a sum of the 2d array along the proper axis. The final ratio can be recalculated accordingly.

The result of an azimuthal integration looks like a tuple (https://github.com/silx-kit/pyFAI/blob/main…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@loichuder
Comment options

loichuder Jan 7, 2025
Maintainer Author

Answer selected by loichuder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants