Pass Profile to integrators instead of ShapeModel
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)