Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: afw
-
Labels:
-
Story Points:2
-
Epic Link:
-
Sprint:AP S19-3, AP S19-4
-
Team:Alert Production
Description
While working on DM-10156, I found that it would in fact be useful to have a factory function that took the Calib-style fluxMag0/fluxMag0Err and returned a PhotoCalib. I implemented it on that ticket, but it stands alone, so I'm going to cherry-pick it here to save the poor reviewer of DM-10156 a little bit of effort.
Krzysztof Findeisen, would you be willing to review this ~50 line change? I pulled it out of
DM-10156to make that one a bit more tractable.One question I have is whether we should follow the C++ overload convention, or whether I should rename the new function to e.g. makePhotoCalibFromZeroPoint() to make the intention clearer in python (where it would primarily be used)?