Skip to content

Commit e891e1e

Browse files
committed
Fix Doniach formula in docstring
1 parent 467bb77 commit e891e1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lmfit/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1428,7 +1428,7 @@ class DoniachModel(Model):
14281428
14291429
f(x; A, \mu, \sigma, \gamma) = \frac{A}{\sigma^{1-\gamma}}
14301430
\frac{\cos\bigl[\pi\gamma/2 + (1-\gamma)
1431-
\arctan{((x - \mu)}/\sigma)\bigr]} {\bigr[1 + (x-\mu)/\sigma\bigl]^{(1-\gamma)/2}}
1431+
\arctan{((x - \mu)/\sigma)}\bigr]} {\bigl[1 + {((x-\mu)/\sigma)}^2\bigr]^{(1-\gamma)/2}}
14321432
14331433
For more information, see:
14341434
https://www.casaxps.com/help_manual/line_shapes.htm

0 commit comments

Comments
 (0)