Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: jointcal
-
Labels:
-
Story Points:8
-
Epic Link:
-
Sprint:AP S18-6, AP F18-1
-
Team:Alert Production
Description
Pierre Astier suggests that we should implement a line search in jointcal, to deal with the non-linearities in the photometric model (and because we may eventually have those in astrometry, as the astrometry model gets more complex). He suggested using Brent's method, which is available in GSL. It might be easier to just take the code directly from GSL, instead of writing an interface layer, given the way the nature of the jointcal models.
At the top of the outlier rejection loop in FitterBase.minimize(), this would look something like:
Eigen::VectorXd delta = chol.solve(grad);
|
scale = lineSearch(delta);
|
offsetParams(delta*scale));
|
Attachments
Issue Links
- has to be done before
-
DM-15011 implement separate Visit and Chip fitting for photometry
- Done
If you take the code from GSL please ensure that a full license statement is made in the relevant file and README. It's important that we record when we integrate external GPL code. We can change the license of our own code, we can't change the license if we include external GPL code.