Skip to content
Snippets Groups Projects
Commit f1634e8d authored by patavirt's avatar patavirt
Browse files

tests: fixup prefactors more

parent 1e817698
No related branches found
No related tags found
No related merge requests found
...@@ -332,6 +332,7 @@ def test_soc_analytic(T, n, alpha_soc): ...@@ -332,6 +332,7 @@ def test_soc_analytic(T, n, alpha_soc):
gm = (ww + 1j * h) / np.sqrt((ww + 1j * h) ** 2 + 1) gm = (ww + 1j * h) / np.sqrt((ww + 1j * h) ** 2 + 1)
fp = 1 / np.sqrt((ww - 1j * h) ** 2 + 1) fp = 1 / np.sqrt((ww - 1j * h) ** 2 + 1)
fm = 1 / np.sqrt((ww + 1j * h) ** 2 + 1) fm = 1 / np.sqrt((ww + 1j * h) ** 2 + 1)
# XXX: check the 32*alpha
Jy_an = ( Jy_an = (
(gp - gm) * (1 + gp * gm + fp * fm) * (-1j * alpha_soc**3) * (32 * alpha) (gp - gm) * (1 + gp * gm + fp * fm) * (-1j * alpha_soc**3) * (32 * alpha)
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment