AdvancedPhotonSource / pySimpleMask

A GUI tool to create mask and qmap for area detectors used in x-ray experiments
MIT License
0 stars 1 forks source link

Add capacity to find direct beam in simplemask #6

Closed qzhang234 closed 2 years ago

qzhang234 commented 2 years ago

The goal is to calculate the intensity variation within a certain Q range (usually the ROI where saxs_1d falls most drastically with Q) and plot the intensity variation as a function of speculated direct beam position.

The final direct beam position is determined as the pixel location that minimizes saxs_1d variation.

qzhang234 commented 2 years ago

The Matlab code and the run result for this capacity is attached:

[Qingteng_Find_DB_Pos.txt]

(https://github.com/AdvancedPhotonSource/pySimpleMask/files/8629073/Qingteng_Find_DB_Pos.txt) image