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.7.tar.gz (1.5 MB view details)

Uploaded Source

Built Distributions

brille-0.5.7-cp310-cp310-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.10 Windows x86-64

brille-0.5.7-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.12+ x86-64

brille-0.5.7-cp310-cp310-macosx_10_13_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.10 macOS 10.13+ x86-64

brille-0.5.7-cp39-cp39-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.9 Windows x86-64

brille-0.5.7-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

brille-0.5.7-cp39-cp39-macosx_10_13_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.9 macOS 10.13+ x86-64

brille-0.5.7-cp38-cp38-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.8 Windows x86-64

brille-0.5.7-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

brille-0.5.7-cp38-cp38-macosx_10_13_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.8 macOS 10.13+ x86-64

brille-0.5.7-cp37-cp37m-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.7m Windows x86-64

brille-0.5.7-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB view details)

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

brille-0.5.7-cp37-cp37m-macosx_10_13_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.7m macOS 10.13+ x86-64

brille-0.5.7-cp36-cp36m-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.6m Windows x86-64

brille-0.5.7-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

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

brille-0.5.7-cp36-cp36m-macosx_10_13_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.6m macOS 10.13+ x86-64

File details

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

File metadata

  • Download URL: brille-0.5.7.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for brille-0.5.7.tar.gz
Algorithm Hash digest
SHA256 65b13d43e317449d4cbc2fd33637aada35ad2966d5dcd2128055068874e970cb
MD5 aa17d8911976dedc8c6c7bbf8d935445
BLAKE2b-256 8839d6afb6265939b27f17b49c35526b56283dc86429588d69da5234f7b28afa

See more details on using hashes here.

File details

Details for the file brille-0.5.7-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: brille-0.5.7-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for brille-0.5.7-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7097d55f44933ac2baa5e6013cb31d264754bd3e90638576648195fde6c173fc
MD5 b91013cfc4fac77f1a2d904cd9bafb96
BLAKE2b-256 0f2ce6001a4791cd84019e95b5a5536702164f174f69ea1fd6c366412d1174bc

See more details on using hashes here.

File details

Details for the file brille-0.5.7-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.5.7-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 536917a6fe1521421011ec166f64cb7a4ba91a713b7833fc0eafc2359a10279f
MD5 7fbb957c89ceb99016e55da673425925
BLAKE2b-256 1a514262bd893e5c7bdefef2b781808b2274f4c098e5ff276b5cd1cebfc6e058

See more details on using hashes here.

File details

Details for the file brille-0.5.7-cp310-cp310-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: brille-0.5.7-cp310-cp310-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.10, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for brille-0.5.7-cp310-cp310-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 2231eab7431f9c24bb17ed1d1f3e55704d5b9e405288df9631f4401d21f91981
MD5 f6bfa3affe62c246568bfc6136100b2e
BLAKE2b-256 17e020a197c8438e07e6cc5c559f8604065af1a9f1d5b8c205c9b70958f21ca5

See more details on using hashes here.

File details

Details for the file brille-0.5.7-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: brille-0.5.7-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for brille-0.5.7-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 3058f0dda4a2a5614491d3e3963936f0fad25464a729c4fa1b4d3255ce0ed4c0
MD5 02af8b33807ff36340c92170dffbf38d
BLAKE2b-256 215e68de3c476c66ae2882cf27773cc3fe3db725cd00cdb2fa3561b997af499d

See more details on using hashes here.

File details

Details for the file brille-0.5.7-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.5.7-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 1c8901e1fcb02d6973a24f99d7675279808fe92ce2e381fc2b275930ae68fe53
MD5 7e4dc738bba65d0f34b98fb1f11b0d0a
BLAKE2b-256 6ef067ad18318e7bfe5dffd6f2ac34a7a64c7c3f71b654dc75b08097c7f80484

See more details on using hashes here.

File details

Details for the file brille-0.5.7-cp39-cp39-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: brille-0.5.7-cp39-cp39-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.9, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for brille-0.5.7-cp39-cp39-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 5190710fc942050d8e63bbcf963b3f42c293599e8f339e967dadec42b0fc2dc7
MD5 b803ee8f79263533283fe217e262b6d2
BLAKE2b-256 e2128b57ebee6c8314d24746bb6f6835184b275f9acc624eb428e395d91382bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.5.7-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for brille-0.5.7-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 c80e9b96ef7804104bf3a962ea15f56c2756f06abdf7dc12de309203fafad890
MD5 8ee254d87d11cdcea2ff8b488d7fea52
BLAKE2b-256 fd6119b5659a8026e051560367cdde3fcdd7fd989365680c4f6d64cf4c0e0d7f

See more details on using hashes here.

File details

Details for the file brille-0.5.7-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.5.7-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 2ad9671b88857a7f2a4d27d503ada7d47487f12758f9013eb8778fa500e952f9
MD5 4135d6f695786216b022ab483b820506
BLAKE2b-256 87ad8ffea78cd3a47dfa2a4f8eb7f3f2db5c168f2a1ac9bbc14b6b16ab2600a4

See more details on using hashes here.

File details

Details for the file brille-0.5.7-cp38-cp38-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: brille-0.5.7-cp38-cp38-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.8, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for brille-0.5.7-cp38-cp38-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 8e40ea037f728e15f2271fa945eef1de7f839280c7340877b2d58d3b4932237e
MD5 96dc338788f0a1b3df569e601e0c01e0
BLAKE2b-256 56c87b40df6da4c2502fb623fea038f3438777b68712aeef10295b22961af9e1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.5.7-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for brille-0.5.7-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 e93ad06642fdb6b7bca0ab7c2bcb73ccf8085fd32c802f22a26f3b593344d9f6
MD5 f54f38bf3828c941c587a0ef884fbb22
BLAKE2b-256 14f3c1635923681ef30baed7988059254c34ab9fe5833423658725ea745fc7ad

See more details on using hashes here.

File details

Details for the file brille-0.5.7-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.5.7-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 9a7f819dde6a37dbb4e33e624feafd3aae7c3ce639641334d4da8e65e56e49a9
MD5 9e10499a5aeb7b7edd088c65691b0c67
BLAKE2b-256 21b3ec501e583e152cbc140b7f3bd371d53e9e4e012cd9773dba4664d0cef1c5

See more details on using hashes here.

File details

Details for the file brille-0.5.7-cp37-cp37m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: brille-0.5.7-cp37-cp37m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.7m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for brille-0.5.7-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 ca86bf40511870ceeb5ba4210d82739aaf78f2884f83bee63f7b0664809a7e03
MD5 980d2578f0c4b39302fd98569bde21cf
BLAKE2b-256 e1ff9a9935b37ed2c97afa98d08b498b52d68c8b56a83851c9f7065b8d7ae611

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.5.7-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.13

File hashes

Hashes for brille-0.5.7-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 886929d29c9c92b9f12b33f823afe3a1d961591f378a41932ebcde93dc49ba07
MD5 683d96cdadd36d564f0738a062a5aaa0
BLAKE2b-256 f42f920417e5d1c548111b78f7650b1c4d21dacad3d309c1d3d51b3010c90e86

See more details on using hashes here.

File details

Details for the file brille-0.5.7-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.5.7-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3b288dcf64b3de4d9b4f00827a38f8190784d083aaccaeb99e08f6cb8fb00491
MD5 fcacbd695371f2e5ef67938c1ee3e064
BLAKE2b-256 598d081286945c72d873c87af1c6686b321fafbd37049671014e9c396d5253e8

See more details on using hashes here.

File details

Details for the file brille-0.5.7-cp36-cp36m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: brille-0.5.7-cp36-cp36m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.6m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.13

File hashes

Hashes for brille-0.5.7-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 41173615269d51b0dee3d927b506ecea988c0894bbe4093b2f4c87c82b35ed69
MD5 7119d2af428f2f7c3ea651e11d40e00f
BLAKE2b-256 89a6922975ad570974cfa9f6bb97e8f3a06d791d589e480466fb9dc13915e781

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