We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cadbada + 1f50974 commit c098ffeCopy full SHA for c098ffe
hexrdgui/pinhole_panel_buffer.py
@@ -14,7 +14,7 @@ def generate_pinhole_panel_buffer(instr):
14
try:
15
for det_key, det in instr.detectors.items():
16
crit_angle = np.arctan(
17
- physics_package.pinhole_radius /
+ 2.0 * physics_package.pinhole_radius /
18
physics_package.pinhole_thickness)
19
ptth, peta = det.pixel_angles()
20
ph_buffer[det_key] = ptth < crit_angle
0 commit comments