Open cylammarco opened 2 years ago
It is currently done via setting linear
to False in set_ransac_properties
, and then supply a set of polynomial coefficients in fit
. It doesn't work very well at the moment.
There is an experimental method Calibrator._get_candidate_points_poly()
that is currently failing. Either fix/extend this or try something else.
match_peaks
can also "refit" using the given polynomial, but it only works if the starting condition is already good.
Use a set of user-defined polynomials as an "initial condition".