Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Releases: beddalumia/PythTB

v1.8.0

26 Nov 07:55

Choose a tag to compare

PythTB 1.8.0 Release Notes

Changed

Enhanced wf_array to support storage of states beyond Bloch-like eigenstates, improving flexibility for custom workflows.

Miscellaneous minor improvements and stability fixes.

Added

Extended wf_array with new convenience methods:

solve_on_one_point — evaluate eigenstates at a single mesh point

choose_states — select subsets of states for downstream analysis

empty_like — construct an empty array mirroring an existing wf_array structure

Introduced change_nonperiodic_vector, and refined handling of the to_home parameter to better control real-space shifts in models with non-periodic directions.

Removed

Retired legacy functions that had been kept for backward compatibility. These features have modern equivalents elsewhere in the API:

berry_curv

k_path

tbmodel

set_sites

add_hop

The original release is finally available on an official, public, github repository!
https://github.com/pythtb/pythtb/releases/tag/v1.8.0

v1.7.2

26 Aug 04:19

Choose a tag to compare

PythTB 1.7.2

25 August 2017

  • Added support for deleting orbitals

  • Display function now prints hopping distances

v1.7.1

26 Aug 04:08

Choose a tag to compare

PythTB 1.7.1

22 December 2016

  • Added support for python 3.x in addition to 2.x

v1.7.0

26 Aug 04:08

Choose a tag to compare

PythTB 1.7.0

7 June 2016

  • Added interface with Wannier90 package

  • Added support for making bandstructure plots along multi-segment paths in the Brillouin zone

  • Added support for hybrid Wannier functions.

  • Cleaned up period boundary condition in the wf_array class

  • Berry curvature in dimensions higher than 2.

  • Fixed bug with reduce_dim. Some hopping terms were not correctly casted as onsite terms.

  • Fixed bug in impose_pbc when dim_k is less than dim_r.

v1.6.2

26 Aug 04:07

Choose a tag to compare

PythTB 1.6.2

25 February 2013

  • Added support for spinors.

  • Added make_supercell method with which one can make arbitrary super-cells of the model and also generate slabs with arbitrary orientation.

v1.6.1

26 Aug 04:05

Choose a tag to compare

PythTB 1.6.1

15 November 2012

  • Renamed the code package (previously PyTB) to avoid confusion with other acronyms.

  • Built a proper python distribution including documentation and an improved website.

  • Streamlined the code to be more consistent in naming conventions.

  • Made some improvements and extensions to the calculation of Berry phases and curvatures.

  • Added a more powerful method of setting onsite and hopping parameters.

  • Removed add_wf function from wf_array object and replaced it with [] operator, and changed the way in which the impose_pbc function is used.

  • Added some additional examples.

  • For the most part, the code should be backward-compatible with version 1.5. (tb_model, set_onsite, set_hop are named differently but have aliases to names from version 1.5).

v1.5

26 Aug 04:04

Choose a tag to compare

PyTB 1.5

4 June 2012

Original v1.5 release from http://www.physics.rutgers.edu/~dhv/pytb/