I’m putting this ticket into review, finally, and I’d like everyone involved in SQUASH and validate_drp to take a look since I think think this will be the API that everyone uses to implement metrics and measurements that get presented to the SQUASH dashboard and DB, in validate_drp or elsewhere in the stack.
Take a look at the measurement classes (e.g., AMxMeasurement) in the calcsrd module to get a feel for what implementing measurements is like from a developer perspective. I’ve used a tiny bit of metaprogramming to making the data model easy to use for developers.
I’ve also put together prototype user docs in a separate ticket, but they’re available at https://validate-drp.lsst.io/v/DM-6917/
The PR also includes sample plots re-implemented with the new data model.