Skip to content
Snippets Groups Projects
Commit 6966e34c authored by Egor Sobolev's avatar Egor Sobolev
Browse files

Add comments about the match condition of the peak and reflex

parent 57ac65dc
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,11 @@ def _buffer_to_line(f, marker):
def match_reflexes_to_peaks(reflexes, peaks, lattices, panels, rmax):
# 1. distance
# 2. one reflex to one peak
# 3. one peak to one reflex in the same crystal
# but to can also match refelex in other crystals
r2max = rmax * rmax
re = reflexes[['fs', 'ss', 'panel', 'frame', 'cryst']].copy()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment