Replace offset with intercept in LinearModel

This commit is contained in:
usov_i committed 2021-02-25 16:47:56 +01:00
1 parent 15bd970a72
commit 0b4f4b1ce9
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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":
+1 -1
View File
@@ -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":