You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On squeeze, if the polynomial squeeze causes the function grid to be non-strictly-increasing, an error is thrown. Let's wrap the CubicSpline call in morphsqueeze.py with a trycatch 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 if len(rvec) < len(pvals).
squeeze, if the polynomial squeeze causes the function grid to be non-strictly-increasing, an error is thrown. Let's wrap theCubicSplinecall inmorphsqueeze.pywith atrycatchto throw a custom warning to the user.refine.pyin the_residualfunction, let's throw a custom error to the user iflen(rvec) < len(pvals).