Package for tight-binding calculations
Project description
Documentation: http://pybinding.site/
v0.9.5 | 2020-08-30
It has been a long time since the last version was released. The Python ecosystem has changed quite a bit in the meantime and this has led to a number of compatibility issues when installing or running pybinding. The main purpose of this new version is to bring this library back to life with lots of compatibility fixes and general modernization.
That said, a couple of new features have also snuck in: site and hopping generators should help with the creation of more general models that were not possible before. They make it possible to create heterostructures and systems with various forms of disorder.
Thank you to [@MAndelkovic (Miša Anđelković)](https://github.com/MAndelkovic) for making this release possible! And thanks to everyone who reported the various issues.
#### Necromancy
Fixed compatibility issues with Python 3.7 and 3.8. Notably, this fixes the deadlocks as reported in [#17](https://github.com/dean0x7d/pybinding/issues/17), [#21](https://github.com/dean0x7d/pybinding/issues/21), and [#23](https://github.com/dean0x7d/pybinding/issues/23).
Fixed compatibility with new versions of matplotlib: the allow_rasterization import error ([#11](https://github.com/dean0x7d/pybinding/issues/11)), various warnings, and smaller visual glitches.
Fixed installation errors due to the encoding of the changelog.md file ([#7](https://github.com/dean0x7d/pybinding/issues/7)).
Fixed failure to compile the project from source code because the Eigen library’s download URL changed ([#14](https://github.com/dean0x7d/pybinding/issues/14)).
Fixed deprecation warnings from the latest versions of numpy.
Fixed documentation generation with sphinx v2.x.
Dropped support for Python 3.5. You must have Python 3.6 or newer to install this version.
#### General bug fixes
Fixed reversed order of Lattice.reciprocal_vectors(): it should be a_n * b_n = 2pi but it was accidentally a_n * b_{N-n} = 2pi.
Fixed incorrect Hamiltonian construction in cases where complex hoppings were used together with translational symmetry.
#### New features
Added @site_generator which can be used to add new sites independent of the main Lattice definition. This is useful for creating heterostructures or defects with various add-atoms. See the new “Generators” section of the tutorial.
@hopping_generator has been promoted to a regular feature and added to the tutorial. It’s useful for creating additional local hoppings around existing sites or connecting completely new sites which were added by a @site_generator.
Added System.count_neighbors() which counts the neighbors each site has. Useful for finding edge atoms. Generators can request system as an argument so that they can stitch new atoms to the edges. See the API reference for @site_generator and @hopping_generator.
@site_state_modifier`s and `@site_position_modifier`s can now be freely ordered. Before this, all state modifiers would be evaluated first and then all position modifiers. Now, they will be evaluated in the exact order in which they are given to `Model. Take care: this may change the behavior of some existing models but it will give more control to create new models which not possible before.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file pybinding-0.9.5.tar.gz
.
File metadata
- Download URL: pybinding-0.9.5.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3b0fd5c7bc6babdd265797698573a2ffe31edc5c4c6c4265262aa6f1005603d |
|
MD5 | 436b9cba81b195f39c849b2dd6e97bf8 |
|
BLAKE2b-256 | 2940c1e40fa822383ffc997e9be8fbaf819eec50b0d398474c5c34e00ac27f47 |
File details
Details for the file pybinding-0.9.5-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: pybinding-0.9.5-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 769.0 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 845dfdbc5a2718bdf9b25f4d05bdf49696709945c62f1146067b22368a82afc0 |
|
MD5 | 37483e41a4a4563fbd460666b57b1bf1 |
|
BLAKE2b-256 | 3bba7a4c9bfb6fea9bf0608f1dc06e905eb11a026f073938abec29370b32464c |
File details
Details for the file pybinding-0.9.5-cp38-cp38-win32.whl
.
File metadata
- Download URL: pybinding-0.9.5-cp38-cp38-win32.whl
- Upload date:
- Size: 712.4 kB
- Tags: CPython 3.8, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6764ce0bd936a8e2b0f4d376f0b0ddba7b1f71a39261707382bd28cef630719a |
|
MD5 | feac389031fd787af3f600e9850ffa43 |
|
BLAKE2b-256 | 4c532d9d97298cc3d275af20929cc3200572f9c3a1b0099a9d2ee5b61e8445de |
File details
Details for the file pybinding-0.9.5-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: pybinding-0.9.5-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 967.5 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2badbc39a79251e2c5593fb27d5aae1bdcbdcbb6efd76dfb01af8b8e5ddb069 |
|
MD5 | 218a812e05d6750f08952fb7be8507ba |
|
BLAKE2b-256 | 8d2d24e79a37f6ae6dea3ff260393e75be72e573c1c7448aa2d1c14382cdbdb9 |
File details
Details for the file pybinding-0.9.5-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: pybinding-0.9.5-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 767.7 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b751534f30b2b07f423be9b761cf745c06cc5daa7ed7e1f36e5862f9180ecea9 |
|
MD5 | ccfd0a47700b193d4580b2a885b91f70 |
|
BLAKE2b-256 | b111384f796f7cc5ee74649ed40a567d3d438317580f287aa3073c4fd9bfdb14 |
File details
Details for the file pybinding-0.9.5-cp37-cp37m-win32.whl
.
File metadata
- Download URL: pybinding-0.9.5-cp37-cp37m-win32.whl
- Upload date:
- Size: 715.1 kB
- Tags: CPython 3.7m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 396d00e64b4d74e553dd4260aea4d1de3c9d381558e869abd9e61b3d946a3dce |
|
MD5 | 4162974ccfb8f0c458e01f819fb20c18 |
|
BLAKE2b-256 | 3517b5368c6572482f7c0a31a8ba76489502f2712701e8d34d66fc6d8ea47f60 |
File details
Details for the file pybinding-0.9.5-cp37-cp37m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: pybinding-0.9.5-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 958.5 kB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d2d143cb97af5e84882462116abadc455a380a180e75a4567a1d2537b210ea1 |
|
MD5 | 392c178d0f1f52b5402b2704f6733c03 |
|
BLAKE2b-256 | 12c798b196c4c4326c692a42989ca2a733659142a2603d28dcaa4fd499c9d802 |
File details
Details for the file pybinding-0.9.5-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: pybinding-0.9.5-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 767.8 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.4 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 977569e5040ac73be445e0015574672afce8374e048e080072d2aef6500d3563 |
|
MD5 | 8727889705ae7345f54490405e626885 |
|
BLAKE2b-256 | cfdd5441677d66108f4892936437fd4f17deb14638ff83669a10d89a0c14fff1 |
File details
Details for the file pybinding-0.9.5-cp36-cp36m-win32.whl
.
File metadata
- Download URL: pybinding-0.9.5-cp36-cp36m-win32.whl
- Upload date:
- Size: 715.0 kB
- Tags: CPython 3.6m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.10.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94956cd2e58aeff6e290d0e704cc80fb55c0b58d6f86ad6b1fd18773989cc72f |
|
MD5 | 89cf3f0675aa1a36b9f506fc025bdeab |
|
BLAKE2b-256 | 382893d77991d451196fefd2bae96e2d8b70ba05cc40a68f42435b8281411fc0 |
File details
Details for the file pybinding-0.9.5-cp36-cp36m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: pybinding-0.9.5-cp36-cp36m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 958.4 kB
- Tags: CPython 3.6m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05c29722e27e0aa817d9fabe2a82e6ee86bf70e069b59b109f443396765aec20 |
|
MD5 | d111186dcaf03219edac0926e26aca66 |
|
BLAKE2b-256 | a163d5df2c5dbfdd4c0fb6b15c3ce6dba9704bb94312162ba5f07625da212436 |