[phenixbb] math behind beamstop_shadow_outliers