Details
-
Type:
RFC
-
Status: Withdrawn
-
Resolution: Done
-
Component/s: DM
-
Labels:None
Description
1) measureCrosstalk.py should live in cp_pipe now that it exists, as it's creating a calibration product, so step 1 is to simply move it there, and move the writeCrosstalkCoeffs method as well, as that really belongs with the measuring code.
2) Update the data format for the crosstalk coefficients. Current format written is a 4-deep nested dict, with the two outer layers being 100% superfluous. The proposed change to the format will either be to just rip these out, or better, make a python defects class holding the coefficients so that they can be used by ampName (currently they're stored like that, but during the loading the names are discarded and they're thrown into a numpy array, losing the safety that the dict keys provide), which would involve making the requisite changes to the isrTask to enable their use.
Are these implemented in a CrossTalk class that has read/write methods for serialization? Or are they used as python dicts directly?