valyte 0.1.5__py3-none-any.whl → 0.1.6__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.
- valyte/dos_plot.py +7 -3
- {valyte-0.1.5.dist-info → valyte-0.1.6.dist-info}/METADATA +1 -1
- {valyte-0.1.5.dist-info → valyte-0.1.6.dist-info}/RECORD +6 -6
- {valyte-0.1.5.dist-info → valyte-0.1.6.dist-info}/WHEEL +0 -0
- {valyte-0.1.5.dist-info → valyte-0.1.6.dist-info}/entry_points.txt +0 -0
- {valyte-0.1.5.dist-info → valyte-0.1.6.dist-info}/top_level.txt +0 -0
valyte/dos_plot.py
CHANGED
|
@@ -60,15 +60,19 @@ def gradient_fill(x, y, ax=None, color=None, xlim=None, **kwargs):
|
|
|
60
60
|
|
|
61
61
|
# Gradient: transparent at bottom (y=0), opaque near the curve
|
|
62
62
|
# This creates a gradient from bottom to top of the filled area
|
|
63
|
-
|
|
63
|
+
# Boosted range for better visibility as per user request
|
|
64
|
+
alpha_vals = np.linspace(0.3, 0.9, 100)
|
|
65
|
+
|
|
66
|
+
# Scale by the line's alpha
|
|
67
|
+
alpha_vals *= alpha
|
|
64
68
|
|
|
65
69
|
# If data is negative (Spin Down), we want opaque at bottom (peak) and transparent at top (axis)
|
|
66
70
|
# Current extent is [ymin, ymax]. ymin is bottom. ymax is top (0).
|
|
67
71
|
# So we want High Alpha at index 0 and Low Alpha at index 100.
|
|
68
72
|
if np.mean(y) < 0:
|
|
69
|
-
|
|
73
|
+
alpha_vals = alpha_vals[::-1]
|
|
70
74
|
|
|
71
|
-
z[:, :, -1] =
|
|
75
|
+
z[:, :, -1] = alpha_vals[:, None]
|
|
72
76
|
|
|
73
77
|
xmin, xmax = x.min(), x.max()
|
|
74
78
|
ymin, ymax = min(y.min(), 0), max(y.max(), 0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: valyte
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.6
|
|
4
4
|
Summary: A comprehensive CLI tool for VASP pre-processing (Supercells, K-points) and post-processing (DOS, Band Structure plotting)
|
|
5
5
|
Home-page: https://github.com/nikyadav002/Valyte-Project
|
|
6
6
|
Author: Nikhil
|
|
@@ -3,13 +3,13 @@ valyte/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
3
3
|
valyte/band.py,sha256=qipx3YIlcl2yV-g6nn_YPRJCidvlrxZKEQzSRyBkwac,1917
|
|
4
4
|
valyte/band_plot.py,sha256=2jP6fEh8qDYHXxDAs4S69xDcxrzWbYcjOAWiGHwjyF4,4766
|
|
5
5
|
valyte/cli.py,sha256=c5At8G4t6IoZEQKEJdBP72TzsKweUX5DIiaaUd9aQXg,8847
|
|
6
|
-
valyte/dos_plot.py,sha256=
|
|
6
|
+
valyte/dos_plot.py,sha256=M3Jg1AaS60CIKBv2pfvrtnSEu61EIvA_yqbYtr4A0g8,17792
|
|
7
7
|
valyte/kpoints.py,sha256=_LISADqe11NBlv8LMjMkF5rWrREHB3aU5-nHvqxj3jk,3055
|
|
8
8
|
valyte/supercell.py,sha256=w6Ik_krXoshgliJDiyjoIZXuifzN0ydi6VSmpzutm9Y,996
|
|
9
9
|
valyte/valyte_band.png,sha256=1Bh-x7qvl1j4D9HGGbQK8OlMUrTU1mhU_kMILUsNiD8,246677
|
|
10
10
|
valyte/valyte_dos.png,sha256=ViE4CycCSqFi_ZtUhA7oGI1nTyt0mHoYI6yg5-Et35k,182523
|
|
11
|
-
valyte-0.1.
|
|
12
|
-
valyte-0.1.
|
|
13
|
-
valyte-0.1.
|
|
14
|
-
valyte-0.1.
|
|
15
|
-
valyte-0.1.
|
|
11
|
+
valyte-0.1.6.dist-info/METADATA,sha256=e-tZzPBhtukUAa574Zx8ILM3Q2d3pP6x_5lb2pZh7zc,5835
|
|
12
|
+
valyte-0.1.6.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
13
|
+
valyte-0.1.6.dist-info/entry_points.txt,sha256=Ny3Z5rh3Ia7lEKoMDDZOm4_jS-Zde3qFHv8f1GLUdxk,43
|
|
14
|
+
valyte-0.1.6.dist-info/top_level.txt,sha256=72-UqyU15JSWDjtBQf6cY0_UBqz0EU2FoVeXjd1JZ5M,7
|
|
15
|
+
valyte-0.1.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|