tanabesugano 1.4.2__py3-none-any.whl → 1.4.3__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.
Potentially problematic release.
This version of tanabesugano might be problematic. Click here for more details.
- tanabesugano/__init__.py +1 -1
- tanabesugano/cmd.py +13 -3
- {tanabesugano-1.4.2.dist-info → tanabesugano-1.4.3.dist-info}/METADATA +1 -1
- {tanabesugano-1.4.2.dist-info → tanabesugano-1.4.3.dist-info}/RECORD +7 -7
- {tanabesugano-1.4.2.dist-info → tanabesugano-1.4.3.dist-info}/LICENSE +0 -0
- {tanabesugano-1.4.2.dist-info → tanabesugano-1.4.3.dist-info}/WHEEL +0 -0
- {tanabesugano-1.4.2.dist-info → tanabesugano-1.4.3.dist-info}/entry_points.txt +0 -0
tanabesugano/__init__.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"""tanabesugano: A Python package for Tanabe-Sugano diagrams."""
|
|
2
|
-
__version__ = "1.4.
|
|
2
|
+
__version__ = "1.4.3"
|
tanabesugano/cmd.py
CHANGED
|
@@ -47,6 +47,7 @@ class CMDmain(object):
|
|
|
47
47
|
self.C = C
|
|
48
48
|
|
|
49
49
|
if slater:
|
|
50
|
+
|
|
50
51
|
self.B, self.C = tools.racah(B, C)
|
|
51
52
|
self.nroot = nroots
|
|
52
53
|
energy = np.linspace(0.0, self.Dq, nroots)
|
|
@@ -73,6 +74,7 @@ class CMDmain(object):
|
|
|
73
74
|
)
|
|
74
75
|
|
|
75
76
|
def plot(self) -> None:
|
|
77
|
+
|
|
76
78
|
# Figure one for classical Tanabe-Sugano-Diagram with B-dependency
|
|
77
79
|
plt.figure(1)
|
|
78
80
|
|
|
@@ -105,6 +107,7 @@ class CMDmain(object):
|
|
|
105
107
|
plt.xlabel(arg2)
|
|
106
108
|
|
|
107
109
|
def savetxt(self) -> None:
|
|
110
|
+
|
|
108
111
|
pd.concat(
|
|
109
112
|
[
|
|
110
113
|
self.df["delta_B"],
|
|
@@ -192,30 +195,37 @@ class CMDmain(object):
|
|
|
192
195
|
Extracting the atomic-termsymbols for a specific dq depending on the oxidation state
|
|
193
196
|
"""
|
|
194
197
|
if self.d_count == 2: # d2
|
|
198
|
+
|
|
195
199
|
states = matrices.d2(Dq=dq_ci / 10.0, B=self.B, C=self.C).solver()
|
|
196
200
|
self.ts_print(states, dq_ci=dq_ci)
|
|
197
201
|
|
|
198
202
|
elif self.d_count == 3: # d3
|
|
203
|
+
|
|
199
204
|
states = matrices.d3(Dq=dq_ci / 10.0, B=self.B, C=self.C).solver()
|
|
200
205
|
self.ts_print(states, dq_ci=dq_ci)
|
|
201
206
|
|
|
202
207
|
elif self.d_count == 4: # d4
|
|
208
|
+
|
|
203
209
|
states = matrices.d4(Dq=dq_ci / 10.0, B=self.B, C=self.C).solver()
|
|
204
210
|
self.ts_print(states, dq_ci=dq_ci)
|
|
205
211
|
|
|
206
212
|
elif self.d_count == 5: # d5
|
|
213
|
+
|
|
207
214
|
states = matrices.d5(Dq=dq_ci / 10.0, B=self.B, C=self.C).solver()
|
|
208
215
|
self.ts_print(states, dq_ci=dq_ci)
|
|
209
216
|
|
|
210
217
|
elif self.d_count == 6: # d6
|
|
218
|
+
|
|
211
219
|
states = matrices.d6(Dq=dq_ci / 10.0, B=self.B, C=self.C).solver()
|
|
212
220
|
self.ts_print(states, dq_ci=dq_ci)
|
|
213
221
|
|
|
214
222
|
elif self.d_count == 7: # d7
|
|
223
|
+
|
|
215
224
|
states = matrices.d7(Dq=dq_ci / 10.0, B=self.B, C=self.C).solver()
|
|
216
225
|
self.ts_print(states, dq_ci=dq_ci)
|
|
217
226
|
|
|
218
227
|
elif self.d_count == 8: # d8
|
|
228
|
+
|
|
219
229
|
states = matrices.d8(Dq=dq_ci / 10.0, B=self.B, C=self.C).solver()
|
|
220
230
|
self.ts_print(states, dq_ci=dq_ci)
|
|
221
231
|
|
|
@@ -286,8 +296,8 @@ class CMDmain(object):
|
|
|
286
296
|
_template = "plotly_white"
|
|
287
297
|
_size = dict(
|
|
288
298
|
autosize=False,
|
|
289
|
-
width=
|
|
290
|
-
height=
|
|
299
|
+
width=800,
|
|
300
|
+
height=800,
|
|
291
301
|
)
|
|
292
302
|
color_discrete_sequence = [
|
|
293
303
|
px.colors.qualitative.Light24[int(i[0]) - 1] for i in _col
|
|
@@ -421,7 +431,7 @@ def cmd_line() -> None:
|
|
|
421
431
|
"-html",
|
|
422
432
|
action="store_true",
|
|
423
433
|
default=False,
|
|
424
|
-
help="Save TS-diagram and dd energies (default =
|
|
434
|
+
help="Save TS-diagram and dd energies (default = off)",
|
|
425
435
|
)
|
|
426
436
|
|
|
427
437
|
args = parser.parse_args()
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
LICENSE,sha256=_K3bdxWFLtrw24lxJa1SGXvicIBKn2a467v7uwyhZ6E,1068
|
|
2
|
-
tanabesugano/__init__.py,sha256=
|
|
2
|
+
tanabesugano/__init__.py,sha256=tHDi5taJmHGH1dh-V4wAyjsxfQ29o3WP_VW9HPjAyuM,87
|
|
3
3
|
tanabesugano/batch.py,sha256=ECc8kIHt3lyBCBmh_lAEpa3L_T1v_2U70vJ7lxf7-EU,5626
|
|
4
|
-
tanabesugano/cmd.py,sha256=
|
|
4
|
+
tanabesugano/cmd.py,sha256=3FUvmfJ5UGPsJy4s-vssdrQ-TojAQzCh2WrmRcNVfcw,14152
|
|
5
5
|
tanabesugano/matrices.py,sha256=xyuQkvd1x_69nbbKWnEVmOgQ4UOZg0mTpBoVG9fcFRo,48709
|
|
6
6
|
tanabesugano/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
tanabesugano/test/test_batch.py,sha256=TBJ90ns82XoPrC6mDM2fZuJiw8bEzoxaim1EUJEv_Ec,927
|
|
8
8
|
tanabesugano/test/test_front.py,sha256=9dmDHidgXCHHTnG7Mss6qp2qpyr2E3l8qXNUlw6doow,318
|
|
9
9
|
tanabesugano/test/test_num.py,sha256=KXNF6yJWQEv1uIc0RAfQ2MqeRwf-CHfaTH-fFhS-d2M,891
|
|
10
10
|
tanabesugano/tools.py,sha256=m0D5IZ6XGyjNVziLL7fCQgtMtWSq1m4_XURJjmzGBkU,798
|
|
11
|
-
tanabesugano-1.4.
|
|
12
|
-
tanabesugano-1.4.
|
|
13
|
-
tanabesugano-1.4.
|
|
14
|
-
tanabesugano-1.4.
|
|
15
|
-
tanabesugano-1.4.
|
|
11
|
+
tanabesugano-1.4.3.dist-info/LICENSE,sha256=_K3bdxWFLtrw24lxJa1SGXvicIBKn2a467v7uwyhZ6E,1068
|
|
12
|
+
tanabesugano-1.4.3.dist-info/METADATA,sha256=1T-kpKfsU6FV67pQoO5N3Hx55ZcyAg97NI0aXKw5yiQ,6771
|
|
13
|
+
tanabesugano-1.4.3.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
|
14
|
+
tanabesugano-1.4.3.dist-info/entry_points.txt,sha256=xcm1HBKYnpfhfLPKBj_8wENPGviAy0_yx1RCrNcvOV4,58
|
|
15
|
+
tanabesugano-1.4.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|