ipyvasp 1.1.5__tar.gz → 1.1.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.
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/PKG-INFO +1 -1
- ipyvasp-1.1.6/ipyvasp/_version.py +1 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/core/serializer.py +4 -3
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp.egg-info/PKG-INFO +1 -1
- ipyvasp-1.1.5/ipyvasp/_version.py +0 -1
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/LICENSE +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/README.md +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/__init__.py +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/__main__.py +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/_enplots.py +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/_lattice.py +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/bsdos.py +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/cli.py +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/core/__init__.py +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/core/parser.py +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/core/plot_toolkit.py +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/core/spatial_toolkit.py +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/evals_dataframe.py +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/lattice.py +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/misc.py +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/potential.py +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/utils.py +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/widgets.py +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp.egg-info/SOURCES.txt +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp.egg-info/dependency_links.txt +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp.egg-info/entry_points.txt +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp.egg-info/requires.txt +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp.egg-info/top_level.txt +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/setup.cfg +0 -0
- {ipyvasp-1.1.5 → ipyvasp-1.1.6}/setup.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.1.6"
|
|
@@ -774,7 +774,7 @@ class BrZoneData(Dict2Data):
|
|
|
774
774
|
nxyz : list or tuple of 3 ints
|
|
775
775
|
Number of tiles along each cartesian direction [nx, ny, nz].
|
|
776
776
|
Must be 3 positive integers.
|
|
777
|
-
If primitive = False, result is not guaranteed to be same size as ``nx * ny * nz`` due to
|
|
777
|
+
If primitive = False, result is not guaranteed to be same size as ``nx * ny * nz`` due to lack of basis alignment with orthogonal axes.
|
|
778
778
|
filter : callable, optional
|
|
779
779
|
Function filter(x,y,z) that takes normalized (to 1) cartesian coordinates and returns bool.
|
|
780
780
|
primitive : bool
|
|
@@ -811,7 +811,8 @@ class BrZoneData(Dict2Data):
|
|
|
811
811
|
return pts
|
|
812
812
|
|
|
813
813
|
# Orthogonal/Cartesian-aligned case, span of cell must be considered in cartesian space
|
|
814
|
-
|
|
814
|
+
scale = np.ptp(self.normals[:3],axis=1) # X,Y,Z, shape (3, N) are face centers
|
|
815
|
+
target_span = (np.array(nxyz) - 1) * scale # total span in cartesian space
|
|
815
816
|
|
|
816
817
|
# Map Cartesian box corners to Lattice Space
|
|
817
818
|
corners_cart = np.array([[i, j, k] for i in [0, 1] for j in [0, 1] for k in [0, 1]]) * target_span
|
|
@@ -850,7 +851,7 @@ class CellData(Dict2Data):
|
|
|
850
851
|
_req_keys = ("basis", "faces", "vertices")
|
|
851
852
|
|
|
852
853
|
def __init__(self, d):
|
|
853
|
-
super().__init__({
|
|
854
|
+
super().__init__({**d, "primitive": True}) # to use BZ methods properly, but only in primitive mode
|
|
854
855
|
|
|
855
856
|
@property
|
|
856
857
|
def faces_coords(self):
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.1.5"
|
|
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
|
|
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
|