Commit 39ae4f36 authored by whooie's avatar whooie
Browse files

code style

parent f4c642f2
......@@ -318,13 +318,13 @@ def lmfit_gaussian(data, dA, k=None):
_Y = Y[sampler, sampler]
def model(params: lmfit.Parameters):
A = params["A"]
x0 = params["x0"]
sx = params["sx"]
y0 = params["y0"]
sy = params["sy"]
th = params["theta"]
B = params["B"]
A = params["A"].value
x0 = params["x0"].value
sx = params["sx"].value
y0 = params["y0"].value
sy = params["sy"].value
th = params["theta"].value
B = params["B"].value
_Xrel = _X - x0
_Yrel = _Y - y0
_Xrot = np.cos(th) * _Xrel + np.sin(th) * _Yrel
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment