Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: meas_astrom
-
Story Points:5
-
Epic Link:
-
Sprint:Ops Pipelines 2023
-
Team:Data Release Production
-
Urgent?:No
Description
Trying out FitAffineWcsTask in the new CalibrateImage and comparing runtimes with the old Characterize and Calibrate showed me that FitAffineWcsTask is about 20x slower than FitTanSipWcsTask. Most of that time is spent in some scipy.optimize calls: there might be faster ones we could use instead.
We still haven't switched to use the new affine fitter anywhere, but I think we should do so soon.
This is at least a partial blocker to using the affine fitter for AP, as previously astrometry was a negligible part of our pipeline (less than half a second), and with the affine fitter it's about 5 seconds.
Looks great! I'm glad turned out to be as simple as it seems to have been. A few comments (mostly about code comments) on the PR.