carnisj / bcdi

BCDI: tools for pre(post)-processing Bragg coherent X-ray diffraction imaging data
Other
23 stars 17 forks source link

use `centering_method` in the bragg peak location calculation #278

Closed carnisj closed 2 years ago

carnisj commented 2 years ago

Calculate the Bragg peak position for the three methods "max", "com" and "max_com" and plot the results to compare their efficiency. The type of centering_method is changed to dict in order to provide different methods for direct and reciprocal space (e.g. {"direct_space": "max_com", "reciprocal_space": "max"}).

Fixes #276

The signature of the methods find_bragg and show_rocking_curve has changed.

Checklist: