Performance of integrate2d()
#2516
-
|
Hey there 👋 @twguest and I are trying to use pyfai to do 2D integration with I'll try to come up with an MWE in a bit, but do you know off the top of your head if this sort of difference is to be expected? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
|
Hi, |
Beta Was this translation helpful? Give feedback.
-
|
Here are the results on my (old) laptop: |
Beta Was this translation helpful? Give feedback.
-
|
Here is the notebooks to reproduce the results on your local computer: |
Beta Was this translation helpful? Give feedback.
-
|
Here is the notebook integrated in the documentation. I will now close the discussion, feel free to reopen it if you have a more specific example. |
Beta Was this translation helpful? Give feedback.
-
|
Sorry for the late reply, I was on holiday last week. Thanks for adding those benchmarks to the docs, that's really useful! But I realize now that I was asking an X/Y question, my real goal is to get azimuthal profiles with |
Beta Was this translation helpful? Give feedback.
Here is the notebook integrated in the documentation.
The performances are rather similar for
cythonimplementation of any algorithm. On GPU, 2D integration is up to 5x slower than 1D in CSR mode (LUT is deprecated, there is no added value in comparison to CSR, it might be removed in the future).I will now close the discussion, feel free to reopen it if you have a more specific example.