From e5412da8970f7c8e4cd63b9f39746c9b641181ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Wed, 19 Sep 2018 20:48:28 +0300 Subject: [PATCH] Fix W data processing Former-commit-id: e2884d0702f8fc5bd5e6d8c238cb60d13386a515 --- qpms/qpms_p.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qpms/qpms_p.py b/qpms/qpms_p.py index f067117..3c78cc7 100644 --- a/qpms/qpms_p.py +++ b/qpms/qpms_p.py @@ -822,7 +822,7 @@ def processWfiles_sameKs(freqfilenames, destfilename, lMax = None): if not np.all(ks_current == ks_muster): raise ValueError("%s contains different k-vectors than %s"%(filename, freqfilenames[0])) curWdata = data[:,5:] - curWs = curWdata[:,::2] + 1j*Wdata[:,1::2] + curWs = curWdata[:,::2] + 1j*curWdata[:,1::2] curWs.shape = (nk_muster, nparticles, nparticles, 2, nelem, nelem) allWs[succread] = curWs cur_freqs_weirdunits = np.array(data[:,0])