Replace offset with intercept in LinearModel

This commit is contained in:
2021-02-25 16:47:56 +01:00
parent 15bd970a72
commit 0b4f4b1ce9
2 changed files with 2 additions and 2 deletions

View File

@ -414,7 +414,7 @@ def create():
def fitparams_factory(function): def fitparams_factory(function):
if function == "background": if function == "background":
params = ["slope", "offset"] params = ["slope", "intercept"]
elif function == "gauss": elif function == "gauss":
params = ["center", "sigma", "amplitude"] params = ["center", "sigma", "amplitude"]
elif function == "voigt": elif function == "voigt":

View File

@ -495,7 +495,7 @@ def create():
def fitparams_factory(function): def fitparams_factory(function):
if function == "background": if function == "background":
params = ["slope", "offset"] params = ["slope", "intercept"]
elif function == "gauss": elif function == "gauss":
params = ["center", "sigma", "amplitude"] params = ["center", "sigma", "amplitude"]
elif function == "voigt": elif function == "voigt":