Replace offset with intercept in LinearModel
This commit is contained in:
parent
15bd970a72
commit
0b4f4b1ce9
@ -414,7 +414,7 @@ def create():
|
||||
|
||||
def fitparams_factory(function):
|
||||
if function == "background":
|
||||
params = ["slope", "offset"]
|
||||
params = ["slope", "intercept"]
|
||||
elif function == "gauss":
|
||||
params = ["center", "sigma", "amplitude"]
|
||||
elif function == "voigt":
|
||||
|
@ -495,7 +495,7 @@ def create():
|
||||
|
||||
def fitparams_factory(function):
|
||||
if function == "background":
|
||||
params = ["slope", "offset"]
|
||||
params = ["slope", "intercept"]
|
||||
elif function == "gauss":
|
||||
params = ["center", "sigma", "amplitude"]
|
||||
elif function == "voigt":
|
||||
|
Loading…
x
Reference in New Issue
Block a user