Open
Description
- On
squeeze
, if the polynomial squeeze causes the function grid to be non-strictly-increasing, an error is thrown. Let's wrap theCubicSpline
call inmorphsqueeze.py
with atry
catch
to throw a custom warning to the user. - If the grids of the morphed and target functions after the first iterations are too far separated (e.g. there is no overlap, or only one point overlap), then it is possible for the number of parameters to be smaller than the number of points we are regressing to fit over. This causes an error. In
refine.py
in the_residual
function, let's throw a custom error to the user iflen(rvec) < len(pvals)
.
Metadata
Metadata
Assignees
Labels
No labels