Revised CalCat API
Compare changes
+ 21
− 6
@@ -72,6 +72,22 @@ def test_DSSC_modules_missing():
@@ -82,13 +98,12 @@ def test_LPD_constant_missing():
This is based on our discussion last week, but it's still a WIP. In particular, I haven't implemented actually loading the constants yet.
I've tweaked the design slightly: rather than having CalibrationData
subclasses for each detector type, you use CalibrationData.from_conditions()
with a detector specific object like AGIPDConditions
. Jump to the tests to see what this looks like.
Questions:
.select_modules()
and .select_calibrations()
take *args
or a list?