Skip to content

Pass Profile to integrators instead of ShapeModel

Zamaan Raza requested to merge fix-shape-model-aabb into main

Each of the different integrator types (PixelSumIntegrator, Profile3DIntegrator etc) integrates a single peak, but takes as an argument a ShapeModel, which is inconsistent on an abstract level, but also makes testing the integration of a single peak difficult. This merge request replaces the passed ShapeModel with a passed Profile, such that an integrator takes a single peak and a single profile and performs the integration.

Resolves #674 (closed)

Merge request reports

Loading