Make use of extra geom for report figures
Compare changes
There are no changes yet
No changes between version 11 and version 11
In this PR, we introduce the usage of EXtra-geom
for rendering processed modules of all detectors, instead of some mystery code.
Yes, I am a savage, and yes, I am using the geometry from the tests folder
This can be tested so:
import pytest
from cal_tools.plotting import show_processed_modules
mnames = ['Q1M1']
for detector in ('DSSC', 'AGIPD1M2', 'AGIPD500K', 'LPD'):
show_processed_modules(detector, mnames=mnames, constants={}, mode='processed')
with pytest.raises(ValueError) as err:
show_processed_modules('LDP', mnames=mnames, constants={}, mode='processed')
assert err.value.args[1] == 'LDP'
New feature (non-breaking change which adds functionality)
My code follows the code style of this project.
No changes between version 11 and version 11