Skip to main content

Irreducible Brillouin zone symmetry and interpolation.

Project description

brille

A C++ library for symmetry operations and linear interpolation within an irreducible part of the first Brillouin zone. Wrapped for use in python using pybind11.

irreducible polyhedron

When provided with the lattice parameters or basis vectors of a real space spacegroup and its Hall symbol or number as determined by, e.g., Spglib, brille can

  • construct the first Brillouin zone
  • determine its high symmetry points
  • find a irreducible polyhedron and verify that its conforms to the pointgroup symmetry of the spacegroup.

Constructing and irreducible Brillouin zone polyhedron for a face centered cubic lattice can be accomplished with, e.g.,

	import brille

	direct_lattice = brille.Direct((4.96, 4.96, 4.96), (90, 90, 90), 'Fd-3m')
	brillouin_zone = brille.BrillouinZone(direct_lattice.star)

interpolation

Interpolating eigenvalues and eigenvectors across a degenerate point could lead to misidentified equivalent modes. Since the eigenvectors are distinguishable at all points away from the high-symmetry directions, a hybrid orthogonal/triangulated grid defined in an irreducible part of the Brillouin zone can be used to avoid mode misidentification.

brille can construct

  • an orthogonal grid guaranteed to contain the first Brillouin zone
  • a triangulated set of points filling an irreducible polyhedron or the first Brillouin zone
  • or a hybrid orthogonal/triangulated grid where only the surface cells are triangulated to improve point location time while preserving polyhedral conformity.

Of these options the third is most appropriate for the interpolation of models used in the analysis of inelastic neutron scattering data is the hybrid grid.

Dependencies

TetGen

A modified version of TetGen is used to create refined tetrahedral meshes in the irreducible portion of the first Brillouin zone.

The modified version is included as part of this repository.

Installation

From the root folder of this repository use Python 3 to build and install this library.

python setup.py install

Alternatively, the python module, C++ library, and catch2 based tests can be built directly using cmake.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brille-0.5.0.tar.gz (920.0 kB view details)

Uploaded Source

Built Distributions

brille-0.5.0-cp38-cp38-win_amd64.whl (8.5 MB view details)

Uploaded CPython 3.8 Windows x86-64

brille-0.5.0-cp38-cp38-manylinux2010_x86_64.whl (15.4 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

brille-0.5.0-cp38-cp38-macosx_10_15_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

brille-0.5.0-cp37-cp37m-win_amd64.whl (8.4 MB view details)

Uploaded CPython 3.7m Windows x86-64

brille-0.5.0-cp37-cp37m-manylinux2010_x86_64.whl (15.8 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

brille-0.5.0-cp37-cp37m-macosx_10_15_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.7m macOS 10.15+ x86-64

brille-0.5.0-cp36-cp36m-win_amd64.whl (8.4 MB view details)

Uploaded CPython 3.6m Windows x86-64

brille-0.5.0-cp36-cp36m-manylinux2010_x86_64.whl (15.8 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

brille-0.5.0-cp36-cp36m-macosx_10_15_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.6m macOS 10.15+ x86-64

File details

Details for the file brille-0.5.0.tar.gz.

File metadata

  • Download URL: brille-0.5.0.tar.gz
  • Upload date:
  • Size: 920.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for brille-0.5.0.tar.gz
Algorithm Hash digest
SHA256 e49b0f5fcce035f6b93fe5f7878fcc47277ece70742757dbc02083db634c6a56
MD5 bbfaeb944411d2078af7af362275c2ac
BLAKE2b-256 0f941d70352ca8270b0a89634421465f467535c43fdd492f3eaf9553a74aa904

See more details on using hashes here.

File details

Details for the file brille-0.5.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: brille-0.5.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 8.5 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for brille-0.5.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 3db6a2459fa8de7716ca45a92971dc71952171dd35581e15ab08280c5f6d813b
MD5 bddc6c5788baf70f1132edeae00eb8d9
BLAKE2b-256 1ed01988bf8da7b009cb60381c4735a20e9bdbd75e3fdbdc5328ccde6ecbe411

See more details on using hashes here.

File details

Details for the file brille-0.5.0-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: brille-0.5.0-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 15.4 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for brille-0.5.0-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 77d7a649a85dc1c81de3ab0bcd7932dc373052b45a791dc43de4de6f42062712
MD5 0d9b1c9c9327dac9beef24aeec8b1d80
BLAKE2b-256 25739883ebf5eb9701e896eab4bcb5c66f837ceedd52ee867b7c1d453a2a40c1

See more details on using hashes here.

File details

Details for the file brille-0.5.0-cp38-cp38-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: brille-0.5.0-cp38-cp38-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.8, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for brille-0.5.0-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 4fcd5fe4e6f17c75b1f911f51b151a49ca39048fd0684e0aacbb77ae0dcc4017
MD5 e6dcff1a504ef8cc4d24a289605fe53b
BLAKE2b-256 79abc7cc6970c875782151f8d448bea276ba53e12e4249d9c137fc812d587678

See more details on using hashes here.

File details

Details for the file brille-0.5.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: brille-0.5.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 8.4 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for brille-0.5.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 81286d495528c6d704b9c4e4da0b41f2a29939ab5d84e5e004fa060076a3b3b9
MD5 ad27586784e07f2b5cf513a0b0013904
BLAKE2b-256 f6813f3fb0085762effe491a57acf91b9e77199b5f1f1a476360deb39d07786c

See more details on using hashes here.

File details

Details for the file brille-0.5.0-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: brille-0.5.0-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 15.8 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for brille-0.5.0-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 aef2af65b971d2260afc33b8560254bb11fde40f75b59a7acfe5cc6ac5481187
MD5 2defa1a890718b86e1f95282c59218dd
BLAKE2b-256 04623c94498b823db77094770074fc8f75f3ae2baca298975f5cb18582cabfc6

See more details on using hashes here.

File details

Details for the file brille-0.5.0-cp37-cp37m-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: brille-0.5.0-cp37-cp37m-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.7m, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for brille-0.5.0-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 59cf8ea006d83208632200ff7a132f9fb9531dc30a684867997ea582b20b5167
MD5 a0ee4fd6bb5f7b78a6be859ffc53bf3a
BLAKE2b-256 17e89a1b088e9971ed893e49bb803b4e1c2f0f6bf3bb0be89eeec31bc2dd2b0f

See more details on using hashes here.

File details

Details for the file brille-0.5.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: brille-0.5.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 8.4 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.8

File hashes

Hashes for brille-0.5.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 c3c2c6289ac127c6007ae78bed66910359e08588e487871cc53df02f636013fb
MD5 4d7b5ec79961726fffabcfae7dcdf00f
BLAKE2b-256 42f7d79630184f8b6b4fe702382b2534144a19a8035328389db240bd8d8f4489

See more details on using hashes here.

File details

Details for the file brille-0.5.0-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: brille-0.5.0-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 15.8 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for brille-0.5.0-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 12334fc2f3253f6b3c8a6bace912cfdc2bd141fe2dc07ff1537975cf91441999
MD5 6620d294e77fbf97ee27a8c675b74546
BLAKE2b-256 f03ebd1248c63519e012bb08875462e57f6b166a94a51d550df1dd2bf82b26bf

See more details on using hashes here.

File details

Details for the file brille-0.5.0-cp36-cp36m-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: brille-0.5.0-cp36-cp36m-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.6m, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.12

File hashes

Hashes for brille-0.5.0-cp36-cp36m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 230c800d983aebddb1271a2daa4804ab43f9ec4a23b2901e378dfebb1e882826
MD5 ce964cba69c9d8e6e4f33f0a0ae799e0
BLAKE2b-256 eb5025807650bc36b9add66a2c03ceb510b26e0cd72ee0692680819fd04c13ac

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page