validate_small_angle#
jeanspy.model.ZhaoModel.validate_small_angle
Class and construction: ZhaoModel.
- ZhaoModel.validate_small_angle(roi_deg)#
Validate cone half-angles for the small-angle J-factor methods.
roi_degis a scalar or broadcastable array in degrees. Returns None when all values are finite, positive and no larger thansmall_angle_limit_deg. Otherwise raises ValueError.