Skip to main content

Irreducible Brillouin zone symmetry and interpolation.

Project description

brille for Horace

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.4.1.tar.gz (871.9 kB view details)

Uploaded Source

Built Distributions

brille-0.4.1-cp38-cp38-win_amd64.whl (7.2 MB view details)

Uploaded CPython 3.8 Windows x86-64

brille-0.4.1-cp38-cp38-manylinux2010_x86_64.whl (12.6 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

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

Uploaded CPython 3.8 macOS 10.15+ x86-64

brille-0.4.1-cp37-cp37m-win_amd64.whl (7.2 MB view details)

Uploaded CPython 3.7m Windows x86-64

brille-0.4.1-cp37-cp37m-manylinux2010_x86_64.whl (12.8 MB view details)

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

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

Uploaded CPython 3.7m macOS 10.15+ x86-64

brille-0.4.1-cp36-cp36m-win_amd64.whl (7.2 MB view details)

Uploaded CPython 3.6m Windows x86-64

brille-0.4.1-cp36-cp36m-manylinux2010_x86_64.whl (12.8 MB view details)

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

brille-0.4.1-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.4.1.tar.gz.

File metadata

  • Download URL: brille-0.4.1.tar.gz
  • Upload date:
  • Size: 871.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for brille-0.4.1.tar.gz
Algorithm Hash digest
SHA256 d0967d0d967af95f03d021c8cdfb70d6d7937e85062764306af22dc96c0990fa
MD5 bc1edbf3a1c1db378b3f8fd804a88357
BLAKE2b-256 3820ad08f7bf8cbe2f5dedce31f4805e04fc8ee69f0a7eeb6d71438ec489bd8a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.4.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 7.2 MB
  • 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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for brille-0.4.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 d582089c73ef1bab9441a7e5e58fe4c848a2405ac333ae54d37c98545ca77932
MD5 d142482efb323b5e0bcccc3afe773a2e
BLAKE2b-256 82d0a439ddff6edd6247b66c2a5919c321ced25d9477f852aff8aa4e2c8b276f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.4.1-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 12.6 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for brille-0.4.1-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 3416d093cc97b5d225e6aca25a0bd23842950730e2736a4d046b304a44191d35
MD5 12b4a8c6463776d6593dc4b45e2bcc8c
BLAKE2b-256 56bdb558208d18716fd789e45bdfce18f903cb117688deb7ded8e0d51707b9d7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.4.1-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.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for brille-0.4.1-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 ac3326f14e342fc2e3703aa100424d623dd092b32d5fc80172710ea3c0fc0f73
MD5 951859f357ffbea99e5ff9fbfd243d72
BLAKE2b-256 39484484099c1bb2460dd6c906af3f7e8713189a737b2f73f6a03ed11f8ea901

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.4.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 7.2 MB
  • 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/47.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.8

File hashes

Hashes for brille-0.4.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 c7277d09ab41d48705a9ecb1a17964ecd2a081a81e01ef62fea338c308bb1bce
MD5 df415c47a36061654c4a6da00eb31a30
BLAKE2b-256 b05862bda6ace71a7a389ddd2fd7e1d7eda362900c01c8c6798dbca71b235aba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.4.1-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 12.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.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for brille-0.4.1-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e8093043d12a357d66721ac0adf37ec9faac0e9e0aa6d8b1ac952ac350d08ae8
MD5 96f3636be8c9a2b6ef591e9a6b94100c
BLAKE2b-256 a3e5ced7d572d5b897e43c075c716fcef5aa5847127184d6b7aceefc000d7ad3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.4.1-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.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.8

File hashes

Hashes for brille-0.4.1-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 de6836e236a98dc8455ee8ec28f9f2cd7ab31532071e053ab2e82b6ca3c19860
MD5 4c4524270356b41a5cc2d1f6c0e11f46
BLAKE2b-256 ce250e2810981c44b11f0142b91f73b5614b693cf949c6f081d9770e80be2ca8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for brille-0.4.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 f20ca3fda31f4880d5dba2a73479e1a77139341f35b21343d6a0d2a3e7aaa51c
MD5 13c513535e6b8c12fcf60e994bb69588
BLAKE2b-256 899393fd7e906529c59bb2f33b07a6088231c392f0241f5e6456093ca2260f42

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.4.1-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 12.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.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for brille-0.4.1-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5268e6ba6fa788bf850b02f66718ae670d58cb4e3dba237ac7febff53b365bee
MD5 686c4c761d0d13c665ef9ffd6130a9d6
BLAKE2b-256 db380060ac671d06aff18df1879843ec5445952e4521ff630195978bceed1ed4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.4.1-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.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.11

File hashes

Hashes for brille-0.4.1-cp36-cp36m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 55ca23fb909206718b1f0336ab13c69a58a26ac67a7e3f31779048d5a09ffe91
MD5 e4cfdc777949673173cc3c58051f414a
BLAKE2b-256 a99f36052de1898746d87e914a69cf82d9904ed0e46f2be2b047fbb01b711d88

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