请问lmfit的多参数拟合,有部分已知参数也要送入模型中,但不参与拟合,应该如何设置,目前设置了不参与拟合的参数为vary=false,但提示“NumPy boolean array indexing assignment cannot assign 8 input values to the 5 output values where the mask is true”
参考:https://www.pythonheidong.com/blog/article/793512/c002f9a2b2dc76d8b374/
不知道你这个问题是否已经解决, 如果还没有解决的话: