I am trying to do a 2-step fit procedure wherein I need to fix and release some parameters (let’s say a and b). In the first step, I want to fit the data and get the values of b with fixed a . Then I want to fix the values of b, thus obtained (from the fit) and release a and then fit the data again.
I am currently referring to this example and this answer and I am now able to fix the parameters using
b.setConstant(kTRUE), but I don’t know how to release the parameter a, which was earlier fixed as
Will you please look into it.