Replace offset with intercept in LinearModel
This commit is contained in:
1 parent
15bd970a72
commit
0b4f4b1ce9
2 files changed
+2
-2
No files matched your search
@@ -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":
|
||||
|
||||
Reference in new issue
Block a user