bandu 1.3.5__tar.gz → 1.3.6__tar.gz
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.
- {bandu-1.3.5/src/bandu.egg-info → bandu-1.3.6}/PKG-INFO +1 -1
- {bandu-1.3.5 → bandu-1.3.6}/pyproject.toml +1 -1
- {bandu-1.3.5 → bandu-1.3.6}/src/bandu/xsf_reader.py +3 -2
- {bandu-1.3.5 → bandu-1.3.6/src/bandu.egg-info}/PKG-INFO +1 -1
- {bandu-1.3.5 → bandu-1.3.6}/LICENSE +0 -0
- {bandu-1.3.5 → bandu-1.3.6}/README.md +0 -0
- {bandu-1.3.5 → bandu-1.3.6}/setup.cfg +0 -0
- {bandu-1.3.5 → bandu-1.3.6}/src/bandu/abinit_reader.py +0 -0
- {bandu-1.3.5 → bandu-1.3.6}/src/bandu/bandu.py +0 -0
- {bandu-1.3.5 → bandu-1.3.6}/src/bandu/brillouin_zone.py +0 -0
- {bandu-1.3.5 → bandu-1.3.6}/src/bandu/colors.py +0 -0
- {bandu-1.3.5 → bandu-1.3.6}/src/bandu/isosurface_class.py +0 -0
- {bandu-1.3.5 → bandu-1.3.6}/src/bandu/plotter.py +0 -0
- {bandu-1.3.5 → bandu-1.3.6}/src/bandu/translate.py +0 -0
- {bandu-1.3.5 → bandu-1.3.6}/src/bandu/wfk_class.py +0 -0
- {bandu-1.3.5 → bandu-1.3.6}/src/bandu.egg-info/SOURCES.txt +0 -0
- {bandu-1.3.5 → bandu-1.3.6}/src/bandu.egg-info/dependency_links.txt +0 -0
- {bandu-1.3.5 → bandu-1.3.6}/src/bandu.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bandu
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.6
|
|
4
4
|
Summary: The BandU program constructs a rank ordered series of crystal orbitals using principal component analysis. These principal orbital components can then be projected on the Fermi surface and visualized
|
|
5
5
|
Author-email: Patrick Cross <pcross@wisc.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/pcross0405/BandU
|
|
@@ -29,6 +29,7 @@ class XSF():
|
|
|
29
29
|
'''
|
|
30
30
|
# if xsf file is supplied, read in parameters
|
|
31
31
|
self.xsf_file = xsf_file
|
|
32
|
+
self.datagrid = datagrid
|
|
32
33
|
with open(xsf_file, 'r') as xsf:
|
|
33
34
|
self.xsf_lines = xsf.readlines()
|
|
34
35
|
self.lattice = np.zeros((3,3))
|
|
@@ -52,7 +53,7 @@ class XSF():
|
|
|
52
53
|
del coord[0]
|
|
53
54
|
self.coords[atom,:] = coord
|
|
54
55
|
# once density block is reached, get ngfft spacing and end init
|
|
55
|
-
if line.strip() == datagrid:
|
|
56
|
+
if line.strip() == self.datagrid:
|
|
56
57
|
ngfft_spacing = self.xsf_lines[i+1].strip().split(' ')
|
|
57
58
|
ngfft_spacing = [int(val) for val in ngfft_spacing if val != '']
|
|
58
59
|
self.ngfftx = ngfft_spacing[0]
|
|
@@ -70,7 +71,7 @@ class XSF():
|
|
|
70
71
|
density_lines:list|np.ndarray=[]
|
|
71
72
|
for i, line in enumerate(self.xsf_lines):
|
|
72
73
|
# get density block, this assumes density is the end most data grid in the XSF
|
|
73
|
-
if line.strip() ==
|
|
74
|
+
if line.strip() == self.datagrid:
|
|
74
75
|
# density starts 6 lines down from BEGIN_DATAGRID_3D_principal_orbital_component header
|
|
75
76
|
density_lines = self.xsf_lines[i+6:]
|
|
76
77
|
# last line indicates end of data block, remove it
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bandu
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.6
|
|
4
4
|
Summary: The BandU program constructs a rank ordered series of crystal orbitals using principal component analysis. These principal orbital components can then be projected on the Fermi surface and visualized
|
|
5
5
|
Author-email: Patrick Cross <pcross@wisc.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/pcross0405/BandU
|
|
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
|