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.
Files changed (30) hide show
  1. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/PKG-INFO +1 -1
  2. ipyvasp-1.1.6/ipyvasp/_version.py +1 -0
  3. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/core/serializer.py +4 -3
  4. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp.egg-info/PKG-INFO +1 -1
  5. ipyvasp-1.1.5/ipyvasp/_version.py +0 -1
  6. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/LICENSE +0 -0
  7. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/README.md +0 -0
  8. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/__init__.py +0 -0
  9. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/__main__.py +0 -0
  10. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/_enplots.py +0 -0
  11. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/_lattice.py +0 -0
  12. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/bsdos.py +0 -0
  13. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/cli.py +0 -0
  14. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/core/__init__.py +0 -0
  15. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/core/parser.py +0 -0
  16. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/core/plot_toolkit.py +0 -0
  17. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/core/spatial_toolkit.py +0 -0
  18. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/evals_dataframe.py +0 -0
  19. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/lattice.py +0 -0
  20. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/misc.py +0 -0
  21. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/potential.py +0 -0
  22. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/utils.py +0 -0
  23. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp/widgets.py +0 -0
  24. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp.egg-info/SOURCES.txt +0 -0
  25. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp.egg-info/dependency_links.txt +0 -0
  26. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp.egg-info/entry_points.txt +0 -0
  27. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp.egg-info/requires.txt +0 -0
  28. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/ipyvasp.egg-info/top_level.txt +0 -0
  29. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/setup.cfg +0 -0
  30. {ipyvasp-1.1.5 → ipyvasp-1.1.6}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ipyvasp
3
- Version: 1.1.5
3
+ Version: 1.1.6
4
4
  Summary: A processing tool for VASP DFT input/output processing in Jupyter Notebook.
5
5
  Home-page: https://github.com/massgh/ipyvasp
6
6
  Author: Abdul Saboor
@@ -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 shape distortion.
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
- target_span = (np.array(nxyz) - 1) * np.ptp(self.basis, axis=0) # total span in cartesian space
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__({k: v for k, v in d.items() if k != "primitive"})
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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ipyvasp
3
- Version: 1.1.5
3
+ Version: 1.1.6
4
4
  Summary: A processing tool for VASP DFT input/output processing in Jupyter Notebook.
5
5
  Home-page: https://github.com/massgh/ipyvasp
6
6
  Author: Abdul Saboor
@@ -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