I created a LossMap class to replace the lossmap, summary and _get_aperture_losses functions in the collimation manager. I also edited the already existing test for lossmaps, so that it would work for the new class.
It passed the pytest testing.
Closes # .
Checklist
Mandatory:
[ ] I have added tests to cover my changes
[ ] All the tests are passing, including my new ones
[ ] I described my changes in this PR description
Optional:
[ ] The code I wrote follows good style practices (see PEP 8 and PEP 20).
[ ] I have updated the docs in relation to my changes, if applicable
Description
I created a LossMap class to replace the lossmap, summary and _get_aperture_losses functions in the collimation manager. I also edited the already existing test for lossmaps, so that it would work for the new class.
It passed the pytest testing.
Closes # .
Checklist
Mandatory:
Optional: