Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: pipe_analysis
-
Labels:None
-
Story Points:4
-
Epic Link:
-
Sprint:DRP S18-3, DRP S18-4, DRP S18-5, DRP S18-6
-
Team:Data Release Production
Description
The current polynomial fits in the color analysis use numpy.polyfit, which performs a regression on the vertical offsets from the polynomial. A regression on the orthogonal distance to the fit is preferable (and required for nearly-vertical distributions). This ticket is to implement an Orthogonal Distance Regression using “odr” uses the scipy.odr module (the numpy.polyfit fit will be retained as it serves as an initial guess for the "odr" fit).
The work here will likely be done as part of the DM-13154 ticket (as plotting limits and refinements may require adjustments as a result of this work).
The work of this ticket has been done on the
DM-13154ticket branch, so should be included in its review.