Skip to content

Commit c098ffe

Browse files
authored
Merge pull request #1757 from HEXRD/pinhole-mask-fix
factor of 2 missing.
2 parents cadbada + 1f50974 commit c098ffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hexrdgui/pinhole_panel_buffer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def generate_pinhole_panel_buffer(instr):
1414
try:
1515
for det_key, det in instr.detectors.items():
1616
crit_angle = np.arctan(
17-
physics_package.pinhole_radius /
17+
2.0 * physics_package.pinhole_radius /
1818
physics_package.pinhole_thickness)
1919
ptth, peta = det.pixel_angles()
2020
ph_buffer[det_key] = ptth < crit_angle

0 commit comments

Comments
 (0)