From 15e14afe66e17e9700eba1cc2996189dda0f7790 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Thu, 16 Feb 2017 01:21:41 +0000 Subject: [PATCH] From best to worst modes (reverse) Former-commit-id: 1fec6fe3a8644ed3cbaf7c4d6f3d6b8209eaa11e --- misc/dispersion-SVD.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/dispersion-SVD.py b/misc/dispersion-SVD.py index e16799e..e53027f 100755 --- a/misc/dispersion-SVD.py +++ b/misc/dispersion-SVD.py @@ -412,7 +412,7 @@ klist = np.concatenate((k0Mlist,kMK1list,kK10list,k0K2list,kK2Mlist), axis=0) # In[ ]: -for minN in range(svn): +for minN in reversed(range(svn)): f, ax = plt.subplots(1, figsize=(20,15)) sc = ax.scatter(kxmlarr, omlist/eV*hbar, c = np.sqrt(minsvTMlistarr[...,minN]), s =40, lw=0) ax.plot(kxmaplist, np.linalg.norm(klist,axis=-1)*cdn/eV*hbar, '-',