Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: lsstsw
-
Labels:None
-
Story Points:4
-
Epic Link:
-
Sprint:Alert Production X16 - 04
-
Team:Alert Production
Description
The current implementation of the new DipoleFitTask for ip_diffim uses lmfit to perform parameter estimation (least-squares minimization). lmfit is essentially an API on top of scipy's optimizer, adding functionality such as parameter boxing (constraints) and improved estimates of parameter uncertainties. It would be nice to include this small, pure-python package in the stack rather than investigating and re-implementing the optimization using scipy or minuit2 (which are the two optimizers that I know of that are in the stack already).
Attachments
Issue Links
- is triggered by
-
RFC-168 Add python package lmfit
- Implemented
Would you mind reviewing this addition of an lmfit EUPS package?
I have tested it and it builds and installs on my Mac. (It is pure python so I'm expecting it wouldn't have an issue building on linux as well).
I also added it to the repos.yaml file in lsstsw (same ticket branch).
Thank you.