Skip to content
  • Danny Hindson's avatar
    Fix problem determining bounding box of beam · ef1144cd
    Danny Hindson authored
    When run with a sample that is offset from the origin, the calculation
    of the beam height and width could result in a beam that didn't overlap
    with the sample. This caused an error when running the MonteCarloAbsorption
    algorithm
    Have added unit test to cover this scenario and have modified the RectangularBeamProfile
    class to expose the min\max points on the beam profile to support this
    ef1144cd