TB2J 0.9.9.8__py3-none-any.whl → 0.9.9.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- TB2J/__init__.py +1 -1
- TB2J/io_exchange/io_exchange.py +4 -4
- TB2J/io_exchange/io_vampire.py +5 -2
- {tb2j-0.9.9.8.dist-info → tb2j-0.9.9.9.dist-info}/METADATA +1 -1
- {tb2j-0.9.9.8.dist-info → tb2j-0.9.9.9.dist-info}/RECORD +20 -20
- {tb2j-0.9.9.8.data → tb2j-0.9.9.9.data}/scripts/TB2J_downfold.py +0 -0
- {tb2j-0.9.9.8.data → tb2j-0.9.9.9.data}/scripts/TB2J_eigen.py +0 -0
- {tb2j-0.9.9.8.data → tb2j-0.9.9.9.data}/scripts/TB2J_magnon.py +0 -0
- {tb2j-0.9.9.8.data → tb2j-0.9.9.9.data}/scripts/TB2J_magnon2.py +0 -0
- {tb2j-0.9.9.8.data → tb2j-0.9.9.9.data}/scripts/TB2J_magnon_dos.py +0 -0
- {tb2j-0.9.9.8.data → tb2j-0.9.9.9.data}/scripts/TB2J_merge.py +0 -0
- {tb2j-0.9.9.8.data → tb2j-0.9.9.9.data}/scripts/TB2J_rotate.py +0 -0
- {tb2j-0.9.9.8.data → tb2j-0.9.9.9.data}/scripts/TB2J_rotateDM.py +0 -0
- {tb2j-0.9.9.8.data → tb2j-0.9.9.9.data}/scripts/abacus2J.py +0 -0
- {tb2j-0.9.9.8.data → tb2j-0.9.9.9.data}/scripts/siesta2J.py +0 -0
- {tb2j-0.9.9.8.data → tb2j-0.9.9.9.data}/scripts/wann2J.py +0 -0
- {tb2j-0.9.9.8.dist-info → tb2j-0.9.9.9.dist-info}/WHEEL +0 -0
- {tb2j-0.9.9.8.dist-info → tb2j-0.9.9.9.dist-info}/entry_points.txt +0 -0
- {tb2j-0.9.9.8.dist-info → tb2j-0.9.9.9.dist-info}/licenses/LICENSE +0 -0
- {tb2j-0.9.9.8.dist-info → tb2j-0.9.9.9.dist-info}/top_level.txt +0 -0
TB2J/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.9.9.
|
1
|
+
__version__ = "0.9.9.9"
|
TB2J/io_exchange/io_exchange.py
CHANGED
@@ -263,7 +263,7 @@ Generation time: {now.strftime("%y/%m/%d %H:%M:%S")}
|
|
263
263
|
j,
|
264
264
|
)
|
265
265
|
if self.exchange_Jdict is not None and key in self.exchange_Jdict:
|
266
|
-
return self.exchange_Jdict[key]
|
266
|
+
return np.real(self.exchange_Jdict[key])
|
267
267
|
else:
|
268
268
|
return default
|
269
269
|
|
@@ -276,7 +276,7 @@ Generation time: {now.strftime("%y/%m/%d %H:%M:%S")}
|
|
276
276
|
j,
|
277
277
|
)
|
278
278
|
if self.exchange_Jdict is not None and key in self.exchange_Jdict:
|
279
|
-
return self.exchange_Jdict[key]
|
279
|
+
return np.real(self.exchange_Jdict[key])
|
280
280
|
else:
|
281
281
|
return default
|
282
282
|
|
@@ -289,7 +289,7 @@ Generation time: {now.strftime("%y/%m/%d %H:%M:%S")}
|
|
289
289
|
j,
|
290
290
|
)
|
291
291
|
if self.dmi_ddict is not None and key in self.dmi_ddict:
|
292
|
-
return self.dmi_ddict[(tuple(R), i, j)]
|
292
|
+
return np.real(self.dmi_ddict[(tuple(R), i, j)])
|
293
293
|
else:
|
294
294
|
return default
|
295
295
|
|
@@ -308,7 +308,7 @@ Generation time: {now.strftime("%y/%m/%d %H:%M:%S")}
|
|
308
308
|
j,
|
309
309
|
)
|
310
310
|
if self.Jani_dict is not None and key in self.Jani_dict:
|
311
|
-
return self.Jani_dict[(tuple(R), i, j)]
|
311
|
+
return np.real(self.Jani_dict[(tuple(R), i, j)])
|
312
312
|
else:
|
313
313
|
return default
|
314
314
|
|
TB2J/io_exchange/io_vampire.py
CHANGED
@@ -51,10 +51,13 @@ def write_vampire_unitcell_file(cls, fname):
|
|
51
51
|
R, ispin, jspin = key
|
52
52
|
Jtensor = cls.get_J_tensor(ispin, jspin, R)
|
53
53
|
counter += 1 # starts at 0
|
54
|
-
myfile.write(f"{counter} {ispin} {jspin} {R[0]} {R[1]} {R[2]} ")
|
54
|
+
myfile.write(f"{counter:5d} {ispin:3d} {jspin:3d} {R[0]:3d} {R[1]:3d} {R[2]:3d} ")
|
55
55
|
for i in range(3):
|
56
56
|
for j in range(3):
|
57
|
-
|
57
|
+
val =np.real(Jtensor[i,j]*2.0/J)
|
58
|
+
if np.abs(val) < 1e-30:
|
59
|
+
val = 0.0
|
60
|
+
myfile.write(f"{val:<012.5e} ")
|
58
61
|
myfile.write("\n")
|
59
62
|
|
60
63
|
|
@@ -4,7 +4,7 @@ TB2J/MAE.py,sha256=fM8U-Dgp9HcQOEeC_kyZV1oVrygBvcux9BraUXVouvY,10994
|
|
4
4
|
TB2J/MAEGreen.py,sha256=Iq4hlZrKEOycPvpV66_t13WIcJ1FJgBS79NleXYpFzw,15528
|
5
5
|
TB2J/Oiju.py,sha256=cNGv8N5uH_swGq7cnAt2OyiDfqtjLlLrwseGu0E4iaM,3383
|
6
6
|
TB2J/Oiju_epc.py,sha256=oytM3NYW7nWmklrGgNlqwIpI_JYv_hb7ZnR4o9nYNog,6809
|
7
|
-
TB2J/__init__.py,sha256=
|
7
|
+
TB2J/__init__.py,sha256=AuZFEUeBNk8Hny02OhG2Y1omWiUh5m4XffiIIrWZkoI,24
|
8
8
|
TB2J/anisotropy.py,sha256=0zmvXkmDmakbBOwGYLa3IIkv5cE99SHLAQJsGoZz7JQ,25463
|
9
9
|
TB2J/basis.py,sha256=DFo6_QUwjBwisP6zGxvoO0lpGTMDPAOkiL9giNCjOjA,1558
|
10
10
|
TB2J/citation.py,sha256=gcQeyJZaT1Qrtsl8Y3s4neOH3-vvgmIcCvXeV2o3vj0,2891
|
@@ -55,12 +55,12 @@ TB2J/interfaces/abacus/test_density_matrix.py,sha256=bMWWJYtDS57SpPZ-eZXZ9Hr_UK4
|
|
55
55
|
TB2J/interfaces/abacus/test_read_HRSR.py,sha256=W1oO_yigT50Yb5_u-KB_IfTpM7kArGkBuMSMs0H4CTs,1235
|
56
56
|
TB2J/interfaces/abacus/test_read_stru.py,sha256=hoKPHVco8vwzC7Gao4bOPCdAPhh29x-9DTJJqRr7AYM,788
|
57
57
|
TB2J/io_exchange/__init__.py,sha256=LqEnG67qDVKt4hCUywDEQvUIJ7jsQjmtueOW_J16NOE,54
|
58
|
-
TB2J/io_exchange/io_exchange.py,sha256=
|
58
|
+
TB2J/io_exchange/io_exchange.py,sha256=3swwPeheUog2pLrpBnyx76_AG7pPT8mVNEwv2ZTHoRI,21309
|
59
59
|
TB2J/io_exchange/io_multibinit.py,sha256=8PDmWxzGuv-GwJosj2ZTmiyNY_duFVWJ4ekCuSqGdd8,6739
|
60
60
|
TB2J/io_exchange/io_tomsasd.py,sha256=NqkAC1Fl-CUnFA21eBzSy_S5F_oeQFJysw4UukQbN8o,4173
|
61
61
|
TB2J/io_exchange/io_txt.py,sha256=BMr1eSILlKpgtjvDx7uw2VMAkEKSvGEPNxpaT_zev0I,10547
|
62
62
|
TB2J/io_exchange/io_uppasd.py,sha256=bI4iPEgnK4TvCZNvb6x2xYXgjW7pEehCqmcizy2pqFU,3301
|
63
|
-
TB2J/io_exchange/io_vampire.py,sha256=
|
63
|
+
TB2J/io_exchange/io_vampire.py,sha256=59Bq5NZ3z6ACDdZdNrYnLnnKPVsZVqnYx7R6LQvO52E,5725
|
64
64
|
TB2J/magnon/__init__.py,sha256=jdUFkOlhrpHRmKavAXVcFdZgtY7lKZVzMPFlLmmCErM,113
|
65
65
|
TB2J/magnon/io_exchange2.py,sha256=EcC3x6H13qq61WBsr__xKzHDtSvy_dMz1tEdUaqSG2I,23265
|
66
66
|
TB2J/magnon/magnon3.py,sha256=GNqJVf73xibVbI9wVvaN2_uigbnNJKbHZxqjICwz3vw,10958
|
@@ -87,20 +87,20 @@ TB2J/spinham/supercell.py,sha256=y17uUC6r3gQb278FhxIW4CABihfLTvKFj6flyXrCPR8,122
|
|
87
87
|
TB2J/wannier/__init__.py,sha256=7ojCbM84PYv1X1Tbo4NHI-d3gWmQsZB_xiYqbfxVV1E,80
|
88
88
|
TB2J/wannier/w90_parser.py,sha256=dbd63LuKyv2DVUzqRINGsbDzEsOxsQyE8_Ear_LQIRg,4620
|
89
89
|
TB2J/wannier/w90_tb_parser.py,sha256=qt8pnuprmPp9iIAYwPkPbmEzk6ZPgMq2xognoQp7vwc,4610
|
90
|
-
tb2j-0.9.9.
|
91
|
-
tb2j-0.9.9.
|
92
|
-
tb2j-0.9.9.
|
93
|
-
tb2j-0.9.9.
|
94
|
-
tb2j-0.9.9.
|
95
|
-
tb2j-0.9.9.
|
96
|
-
tb2j-0.9.9.
|
97
|
-
tb2j-0.9.9.
|
98
|
-
tb2j-0.9.9.
|
99
|
-
tb2j-0.9.9.
|
100
|
-
tb2j-0.9.9.
|
101
|
-
tb2j-0.9.9.
|
102
|
-
tb2j-0.9.9.
|
103
|
-
tb2j-0.9.9.
|
104
|
-
tb2j-0.9.9.
|
105
|
-
tb2j-0.9.9.
|
106
|
-
tb2j-0.9.9.
|
90
|
+
tb2j-0.9.9.9.data/scripts/TB2J_downfold.py,sha256=i4BVqnpDdgrX_amookVWeLGefGBn-qeAutWiwuY9SfQ,2099
|
91
|
+
tb2j-0.9.9.9.data/scripts/TB2J_eigen.py,sha256=Qs9v2hnMm2Tpfoa4h53muUKty2dZjwx8948MBoQooNg,1128
|
92
|
+
tb2j-0.9.9.9.data/scripts/TB2J_magnon.py,sha256=q7UwAmorRcFNk4tfE7gl_ny05l6p7pbD9Wm_LkIpKEw,3101
|
93
|
+
tb2j-0.9.9.9.data/scripts/TB2J_magnon2.py,sha256=tMa7Fg_Wd2UytnrH3C_AsgGM7BciUW0iy6NiPlWvar8,1920
|
94
|
+
tb2j-0.9.9.9.data/scripts/TB2J_magnon_dos.py,sha256=TMXQvD2dIbO5FZ4tUMmxJgCgH2O2hDAPUNfEKO4z-x4,110
|
95
|
+
tb2j-0.9.9.9.data/scripts/TB2J_merge.py,sha256=y834SF4rIRn1L1ptkhczvavQpC-8Px6DTmDOOSaq_DE,1854
|
96
|
+
tb2j-0.9.9.9.data/scripts/TB2J_rotate.py,sha256=zgiDFuYZNmzKK0rwDmTaYD2OpRlmKA_VGeBx83w2Xwc,873
|
97
|
+
tb2j-0.9.9.9.data/scripts/TB2J_rotateDM.py,sha256=kCvF7gotuqAX1VnJ06cwfVm7RrhrdtiV5v7d9P2Pn_E,567
|
98
|
+
tb2j-0.9.9.9.data/scripts/abacus2J.py,sha256=ozYI7qZyja1WEs9oCYVpeYAfVj5PGhehhmdZFcvrd3g,1795
|
99
|
+
tb2j-0.9.9.9.data/scripts/siesta2J.py,sha256=QJ6c0DbqxaqYEesxiL5R9nK9-flNLrr7hajKfCwirYc,2318
|
100
|
+
tb2j-0.9.9.9.data/scripts/wann2J.py,sha256=OA31VHEXbQMD-JozoLUHDF6vB9Sr62d804OApSKtSnU,3240
|
101
|
+
tb2j-0.9.9.9.dist-info/licenses/LICENSE,sha256=CbZI-jyRTjiqIcWa244cRSHJdjjtUNqGR4HeJkgEwJw,1332
|
102
|
+
tb2j-0.9.9.9.dist-info/METADATA,sha256=WWe2x4jQqlWmF0ykFgISDw0zUtFFtym_TE_ekp2kJf8,1686
|
103
|
+
tb2j-0.9.9.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
104
|
+
tb2j-0.9.9.9.dist-info/entry_points.txt,sha256=Hdz1WC9waUzyFVmowKnbbZ6j-J4adHh_Ko6JpxGYAtE,131
|
105
|
+
tb2j-0.9.9.9.dist-info/top_level.txt,sha256=whYa5ByLYhl5XnTPBHSWr-IGD6VWmr5Ql2bye2qwV_s,5
|
106
|
+
tb2j-0.9.9.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|