tanabesugano 1.4.1__py3-none-any.whl → 1.4.2__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 +2 -1
- tanabesugano/cmd.py +2 -12
- {tanabesugano-1.4.1.dist-info → tanabesugano-1.4.2.dist-info}/METADATA +20 -10
- {tanabesugano-1.4.1.dist-info → tanabesugano-1.4.2.dist-info}/RECORD +7 -7
- {tanabesugano-1.4.1.dist-info → tanabesugano-1.4.2.dist-info}/WHEEL +1 -1
- {tanabesugano-1.4.1.dist-info → tanabesugano-1.4.2.dist-info}/LICENSE +0 -0
- {tanabesugano-1.4.1.dist-info → tanabesugano-1.4.2.dist-info}/entry_points.txt +0 -0
tanabesugano/__init__.py
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"""tanabesugano: A Python package for Tanabe-Sugano diagrams."""
|
|
2
|
+
__version__ = "1.4.2"
|
tanabesugano/cmd.py
CHANGED
|
@@ -47,7 +47,6 @@ class CMDmain(object):
|
|
|
47
47
|
self.C = C
|
|
48
48
|
|
|
49
49
|
if slater:
|
|
50
|
-
|
|
51
50
|
self.B, self.C = tools.racah(B, C)
|
|
52
51
|
self.nroot = nroots
|
|
53
52
|
energy = np.linspace(0.0, self.Dq, nroots)
|
|
@@ -74,7 +73,6 @@ class CMDmain(object):
|
|
|
74
73
|
)
|
|
75
74
|
|
|
76
75
|
def plot(self) -> None:
|
|
77
|
-
|
|
78
76
|
# Figure one for classical Tanabe-Sugano-Diagram with B-dependency
|
|
79
77
|
plt.figure(1)
|
|
80
78
|
|
|
@@ -107,7 +105,6 @@ class CMDmain(object):
|
|
|
107
105
|
plt.xlabel(arg2)
|
|
108
106
|
|
|
109
107
|
def savetxt(self) -> None:
|
|
110
|
-
|
|
111
108
|
pd.concat(
|
|
112
109
|
[
|
|
113
110
|
self.df["delta_B"],
|
|
@@ -195,37 +192,30 @@ class CMDmain(object):
|
|
|
195
192
|
Extracting the atomic-termsymbols for a specific dq depending on the oxidation state
|
|
196
193
|
"""
|
|
197
194
|
if self.d_count == 2: # d2
|
|
198
|
-
|
|
199
195
|
states = matrices.d2(Dq=dq_ci / 10.0, B=self.B, C=self.C).solver()
|
|
200
196
|
self.ts_print(states, dq_ci=dq_ci)
|
|
201
197
|
|
|
202
198
|
elif self.d_count == 3: # d3
|
|
203
|
-
|
|
204
199
|
states = matrices.d3(Dq=dq_ci / 10.0, B=self.B, C=self.C).solver()
|
|
205
200
|
self.ts_print(states, dq_ci=dq_ci)
|
|
206
201
|
|
|
207
202
|
elif self.d_count == 4: # d4
|
|
208
|
-
|
|
209
203
|
states = matrices.d4(Dq=dq_ci / 10.0, B=self.B, C=self.C).solver()
|
|
210
204
|
self.ts_print(states, dq_ci=dq_ci)
|
|
211
205
|
|
|
212
206
|
elif self.d_count == 5: # d5
|
|
213
|
-
|
|
214
207
|
states = matrices.d5(Dq=dq_ci / 10.0, B=self.B, C=self.C).solver()
|
|
215
208
|
self.ts_print(states, dq_ci=dq_ci)
|
|
216
209
|
|
|
217
210
|
elif self.d_count == 6: # d6
|
|
218
|
-
|
|
219
211
|
states = matrices.d6(Dq=dq_ci / 10.0, B=self.B, C=self.C).solver()
|
|
220
212
|
self.ts_print(states, dq_ci=dq_ci)
|
|
221
213
|
|
|
222
214
|
elif self.d_count == 7: # d7
|
|
223
|
-
|
|
224
215
|
states = matrices.d7(Dq=dq_ci / 10.0, B=self.B, C=self.C).solver()
|
|
225
216
|
self.ts_print(states, dq_ci=dq_ci)
|
|
226
217
|
|
|
227
218
|
elif self.d_count == 8: # d8
|
|
228
|
-
|
|
229
219
|
states = matrices.d8(Dq=dq_ci / 10.0, B=self.B, C=self.C).solver()
|
|
230
220
|
self.ts_print(states, dq_ci=dq_ci)
|
|
231
221
|
|
|
@@ -296,8 +286,8 @@ class CMDmain(object):
|
|
|
296
286
|
_template = "plotly_white"
|
|
297
287
|
_size = dict(
|
|
298
288
|
autosize=False,
|
|
299
|
-
width=
|
|
300
|
-
height=
|
|
289
|
+
width=250,
|
|
290
|
+
height=250,
|
|
301
291
|
)
|
|
302
292
|
color_discrete_sequence = [
|
|
303
293
|
px.colors.qualitative.Light24[int(i[0]) - 1] for i in _col
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tanabesugano
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.2
|
|
4
4
|
Summary: A python-solver for Tanabe-Sugano and Energy-Correlation diagrams
|
|
5
5
|
Home-page: https://pypi.org/project/TanabeSugano
|
|
6
6
|
License: MIT
|
|
@@ -22,11 +22,8 @@ Classifier: Programming Language :: Python :: 3
|
|
|
22
22
|
Classifier: Programming Language :: Python :: 3.9
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.10
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
-
Classifier: Programming Language :: Python :: 3
|
|
26
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
27
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
28
26
|
Classifier: Programming Language :: Python :: 3.8
|
|
29
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
30
27
|
Classifier: Topic :: Scientific/Engineering :: Chemistry
|
|
31
28
|
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
32
29
|
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
@@ -35,19 +32,23 @@ Classifier: Topic :: Utilities
|
|
|
35
32
|
Provides-Extra: plotly
|
|
36
33
|
Requires-Dist: matplotlib (>=3.4.2,<4.0.0)
|
|
37
34
|
Requires-Dist: numpy (>=1.20.3,<2.0.0)
|
|
38
|
-
Requires-Dist: pandas (>=1.2.4,<
|
|
35
|
+
Requires-Dist: pandas (>=1.2.4,<3.0.0)
|
|
39
36
|
Requires-Dist: plotly (>=5.13.1,<6.0.0) ; extra == "plotly"
|
|
40
|
-
Requires-Dist: prettytable (>=2.1
|
|
37
|
+
Requires-Dist: prettytable (>=2.1,<4.0)
|
|
41
38
|
Project-URL: Repository, https://github.com/Anselmoo/TanabeSugano
|
|
42
39
|
Description-Content-Type: text/markdown
|
|
43
40
|
|
|
44
|
-
[](https://github.com/Anselmoo/TanabeSugano/actions/workflows/python-package.yml)
|
|
42
|
+
[](https://python-poetry.org/)
|
|
45
43
|
[](https://www.codefactor.io/repository/github/anselmoo/tanabesugano)
|
|
46
|
-
[](https://zenodo.org/badge/latestdoi/206847682)
|
|
47
45
|
[](https://github.com/Anselmoo/TanabeSugano/blob/master/LICENSE)
|
|
48
46
|
[](https://github.com/Anselmoo/TanabeSugano/releases)
|
|
49
47
|
[](https://pypi.org/project/TanabeSugano/)
|
|
50
48
|
[](https://pypi.org/project/TanabeSugano/)
|
|
49
|
+
[](https://pepy.tech/project/tanabesugano)
|
|
50
|
+
[](https://colab.research.google.com/github/Anselmoo/TanabeSugano/blob/master/Tanabe_Sugano.ipynb)
|
|
51
|
+
|
|
51
52
|
|
|
52
53
|
# TanabeSugano
|
|
53
54
|
A python-based Eigensolver for Tanabe-Sugano- & Energy-Correlation-Diagrams based on the original three proposed studies of *Yukito Tanabe and Satoru Sugano* for d<sup>2</sup>-d<sup>8</sup> transition metal ions:
|
|
@@ -123,6 +124,15 @@ The options for the **TanabeSugano**-application are:
|
|
|
123
124
|
-html Save TS-diagram and dd energies (default = on)
|
|
124
125
|
```
|
|
125
126
|
|
|
126
|
-
**Reference-Example** for d<sup>6</sup> for *B = 860 cm<sup>-</sup>* and *C = 3850 cm<sup>-</sup
|
|
127
|
+
**Reference-Example** for d<sup>6</sup> for *B = 860 cm<sup>-</sup>* and *C = 3850 cm<sup>-</sup>* as regular `matplotlib`-plot:
|
|
127
128
|

|
|
128
129
|
|
|
130
|
+
|
|
131
|
+
**Reference-Example** for d<sup>6</sup> for *F<sup>2</sup> = 1065 cm<sup>-</sup>* and *F<sup>4</sup> = 5120 cm<sup>-</sup>* as interactive `plotly`-plot:
|
|
132
|
+
|
|
133
|
+

|
|
134
|
+
|
|
135
|
+
## Test the TS-diagrams interactively in Google Colab
|
|
136
|
+
|
|
137
|
+
[](https://colab.research.google.com/github/Anselmoo/TanabeSugano/blob/master/Tanabe_Sugano.ipynb)
|
|
138
|
+
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
LICENSE,sha256=_K3bdxWFLtrw24lxJa1SGXvicIBKn2a467v7uwyhZ6E,1068
|
|
2
|
-
tanabesugano/__init__.py,sha256=
|
|
2
|
+
tanabesugano/__init__.py,sha256=bEVGLECdgoci9yV2Y1UFxDksfEFVcT5t41wq3LVwXKM,87
|
|
3
3
|
tanabesugano/batch.py,sha256=ECc8kIHt3lyBCBmh_lAEpa3L_T1v_2U70vJ7lxf7-EU,5626
|
|
4
|
-
tanabesugano/cmd.py,sha256=
|
|
4
|
+
tanabesugano/cmd.py,sha256=lbj4zAjDdk-CQJrX9dgJYCagPsNN5jSEsnKTzH3QSSo,14141
|
|
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.2.dist-info/LICENSE,sha256=_K3bdxWFLtrw24lxJa1SGXvicIBKn2a467v7uwyhZ6E,1068
|
|
12
|
+
tanabesugano-1.4.2.dist-info/METADATA,sha256=KSZzRZ0k5YnJJ6Ni7jZml0OBfb-HhdkUWZrM3NYJrqw,6771
|
|
13
|
+
tanabesugano-1.4.2.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
|
14
|
+
tanabesugano-1.4.2.dist-info/entry_points.txt,sha256=xcm1HBKYnpfhfLPKBj_8wENPGviAy0_yx1RCrNcvOV4,58
|
|
15
|
+
tanabesugano-1.4.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|