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

Uploaded Source

Built Distributions

brille-0.5.4-cp38-cp38-win_amd64.whl (912.3 kB view details)

Uploaded CPython 3.8 Windows x86-64

brille-0.5.4-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.4-cp38-cp38-macosx_10_15_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

brille-0.5.4-cp37-cp37m-win_amd64.whl (909.9 kB view details)

Uploaded CPython 3.7m Windows x86-64

brille-0.5.4-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.4-cp37-cp37m-macosx_10_15_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.7m macOS 10.15+ x86-64

brille-0.5.4-cp36-cp36m-win_amd64.whl (909.8 kB view details)

Uploaded CPython 3.6m Windows x86-64

brille-0.5.4-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB view details)

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

brille-0.5.4-cp36-cp36m-macosx_10_15_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.6m macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: brille-0.5.4.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.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for brille-0.5.4.tar.gz
Algorithm Hash digest
SHA256 d91b37ace703fa93d74b537bb254001b2c801ece7b23225f04a210beb7cdf4dd
MD5 d55027d18e9db6762f90cf550b178bb3
BLAKE2b-256 077e6c07e51ddac289d070a413a3fbf78a63b08b615234ae629c21adbf383a1f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.5.4-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 912.3 kB
  • 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.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for brille-0.5.4-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 d39b5c0876fbd599f9cacff532f8304b648b7aa86b3daed91b508c49ed672bc3
MD5 1d50d8dde18d2c7e238eeeadb942bb64
BLAKE2b-256 f3673ed35eee63323da715d1e0e02812c4ea84930ad3b23822bc2e71253cd0e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.5.4-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 181eb0dd929fb03b5e50e475f7ad8f25908797fd5a249f7187d6dcff66f7a16b
MD5 4c1bcdac81d6a504205b37f317cef295
BLAKE2b-256 463a72497e288d830357661a07cc53290f587da126ad3e84206c719a5b4ea3cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.5.4-cp38-cp38-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.8, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for brille-0.5.4-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 61659fdc42cc7304776a4e97a8aa1c7e66cf3f952218d56b933758ca66a113fc
MD5 58d608200298a652b02a5467683810df
BLAKE2b-256 7ff76bdf732212b43c5188b856c5a069b91966404d05015338e7f2173483a99e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.5.4-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 909.9 kB
  • 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.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.9

File hashes

Hashes for brille-0.5.4-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 64aa65684e5ffac8ed40d9cc885d2f83134361fb4eb951f6f888d6319c3cfacd
MD5 6a0aa0f9641edae7db1f8ec62c276363
BLAKE2b-256 3e1fdc137df7431046c15d6d94751512936609865c7c08bffae90fc51ec218bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.5.4-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 19649fff84433dd1a96c992a6de5cdfbafb95994b7197bf496fda69fd74332b9
MD5 26cf5bcbb2cd8673dd77e8bd3688e1ea
BLAKE2b-256 e5aa97066585cbaac838f7d1bcb1d5c78fa49e145649601c4d17208109ca9a0f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.5.4-cp37-cp37m-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.7m, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for brille-0.5.4-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 a41e8b8a79da4a69189f46b4716cb3b7ada7815bbcfc1620ed6a4a08639de6e7
MD5 024338038f2786a883590c2b0b9ae9d5
BLAKE2b-256 baf5ad7386110ee05fe8df6b806298d28ba5f09360b313a6bae0fd0124e064fa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.5.4-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 909.8 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.8

File hashes

Hashes for brille-0.5.4-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 2c30a1b00e9901e63fa8f9320eaa0cfaa6224b757556fe83cc9f4a6fc261b206
MD5 b8905fd644c7319e76d4c3e89bb60ada
BLAKE2b-256 2cfaba02810d1b2ed5875ad3dae5f19698f6a4541cd4d7eb602d5cc9602e2c00

See more details on using hashes here.

File details

Details for the file brille-0.5.4-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.5.4-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a6644de2e4ad3924ae879d9c291e6ca2d9ff88b9fba80b322c22d31d8f7bda82
MD5 c4162cf1adbf53203813ed1271b4a1c2
BLAKE2b-256 c6910cdb0afaf296462730494b7a21fde91c805373eaa919d18d55917d7296c0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.5.4-cp36-cp36m-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.6m, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.15

File hashes

Hashes for brille-0.5.4-cp36-cp36m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 79ac4fadb71cf53d79b192860eb575a4764cfeafd78cddedb00cf11e9cfeb34c
MD5 bec0b657ca8f8887eaa9ffa0752120e8
BLAKE2b-256 f7c6c123dbed88d215bec86ea645629b8101ac312bd14fe46fdeb38e3da2b324

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