What’s New
0.7.7 - 2022-02-11
New Features
add additional spatial methods to lattice object
reuse coordinate system argument used for building lattice in other
Lattice-methods
Improvements/Bug Fixes
remove deprecated
set_num_neighborsmethodremove deprecated
fillmethod fromDataMapremove deprecated
get_neighbor_posmethod fromLatticeData
0.7.6 - 2022-12-06
New Features
add method for getting limits of unit cells to
LatticeDataobjectadd conversion methods between cell index and super index for regular shapes to
LatticeBasisadd
hypercubicconstructor toLatticeBasisobject.add
np.zeroswrapper toDataMap
Improvements/Bug Fixes
rename index methods of
Latticeobject to use superindex naming conventioncast
distidxto full numpy array instead of list of arraysreplace deprecated
np.booltype with the builtinbooladd endpoint argument to WignerSeitzCell meshgrid method
add endpoint argument to linspace of
WignerSeitzCell
BREAKING CHANGE
index_from_position and index_from_lattice_index have been renamed to superindex_from_pos and superindex_from_index.
0.7.5 - 2022-25-05
Improvements/Bug Fixes
fix error when setting periodic neighbors twice
set periodic axes only if size is big enough (#67)
0.7.4 - 2022-10-05
New Features
add method
neighbor_pairsfor generating a list of neighbor indices
Documentation
add example to
adjacency_matrixadd docstring to
neighbor_pairs
0.7.3 - 2022-06-05
Improvements/Bug Fixes
adjacency_matrixis now vectorized and returns acsr_matrixpassing a False boolean as axis to
set_periodicnow removes the periodic boundaries
0.7.2 - 2022-04-05
New Features
add prefabs for the hexagonal (triangular) and honeycomb lattice.
add methods for building sparse matrices to
DataMapclass
Improvements/Bug Fixes
add argument for building in primitive basis to the
finite_hypercubicmethod.
0.7.1 - 2022-29-03
New Features
add argument for setting periodic boundary conditions to the
finite_hypercubicmethod.add method for computing minimum distances in a lattice with periodic boundary conditions
add
shapekeyword argument to Lattice constructoradd CSR/BSR sparse matrix format of indices and index-pointers to DataMap
Code Refactoring
rename
distancevariables todistances_to prevent same name as method
0.7.0 - 2022-21-02
New Features
Add method for computing the adjacency matrix of the lattice graph
Split the lattice structure into separate object
LatticeStructureand use it as base class forLatticeSplit the lattice basis into separate object
LatticeBasisand use it as base class forLattice
Code Refactoring
use black code formatter
Documentation
add inheritance diagram to
LatticeStructureand fix some docstringsadd inheritance diagram to
Latticeadd example to
LatticeBasisdocstringadd attributes to docstring of
LatticeBasisimprove docstring of
Latticeclass
0.6.7 - 2022-16-02
New Features
add method for hiding the box and axis of a plot
Add
finite_hypercubiclattice prefabuse git-chglog to auto-generate changelogs
Improvements/Bug Fixes
add
use_mplstyleto plotting modulechange atom parameter order and fix resulting errors
use
boxfor plot aspect ratioimprove lattice plotting and fix scaling/auto-limit issues
update change log template and include old entries
Code Refactoring
rename unitcell module to atom
Documentation
fix limits of plot in configuration tutorial
update index page of docs
fix docstrings of
DataMapadd hamiltonian section to tutorial
add change log contributing to documentation
0.6.6 - 2022-12-02
Improved/Fixed
improve build process
improve periodic neighbor computation
improve documentation
improve CI/Tests
minor fixes
0.6.5 - 2022-03-02
New Features
2D/3D
Shapeobject for easier lattice construction.repeat/extend built lattices.
Improved/Fixed
improve build process
improve periodic neighbor computation (still not stable)
add/improve tests
improve plotting
add more docstrings
fix multiple bugs