First, Thanks @HugoMVale for providing this ODRPACK update, along with so many modern language bindings.
I am translating my application that uses scipy.odr to odrpack-python. I am comparing results. I have several model parameters that are bounded below by zero, where zero is a legitimate value that represents an "ideal device". For example, a zero resistance model parameter. I handled this in a rather hacky way in scipy.odr, because bounds were not an option.
A couple issues I've hit:
(1) I have a result that drives a model parameter to its boundary at zero, and with odrpack-python I get "info=60002, stopreason='Questionable results or fatal errors detected. See report and error message.', success=False". However, the fit parameters look quite reasonable compared to my solution using scipy.odr (where I first detect a negative value in an initial fit then fix that parameter to zero and re-fit.)
(2) It would be nice to be able to fix elements of beta0 to values on the boundary of bounds.
Thoughts?
First, Thanks @HugoMVale for providing this ODRPACK update, along with so many modern language bindings.
I am translating my application that uses scipy.odr to odrpack-python. I am comparing results. I have several model parameters that are bounded below by zero, where zero is a legitimate value that represents an "ideal device". For example, a zero resistance model parameter. I handled this in a rather hacky way in scipy.odr, because bounds were not an option.
A couple issues I've hit:
(1) I have a result that drives a model parameter to its boundary at zero, and with odrpack-python I get "info=60002, stopreason='Questionable results or fatal errors detected. See report and error message.', success=False". However, the fit parameters look quite reasonable compared to my solution using scipy.odr (where I first detect a negative value in an initial fit then fix that parameter to zero and re-fit.)
(2) It would be nice to be able to fix elements of beta0 to values on the boundary of bounds.
Thoughts?