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

Uploaded Source

Built Distributions

brille-0.7.0-cp311-cp311-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.11 Windows x86-64

brille-0.7.0-cp311-cp311-musllinux_1_1_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

brille-0.7.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

brille-0.7.0-cp311-cp311-macosx_10_15_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.11 macOS 10.15+ x86-64

brille-0.7.0-cp310-cp310-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.10 Windows x86-64

brille-0.7.0-cp310-cp310-musllinux_1_1_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

brille-0.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

brille-0.7.0-cp310-cp310-macosx_10_15_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

brille-0.7.0-cp39-cp39-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.9 Windows x86-64

brille-0.7.0-cp39-cp39-musllinux_1_1_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

brille-0.7.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

brille-0.7.0-cp39-cp39-macosx_10_15_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

brille-0.7.0-cp38-cp38-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.8 Windows x86-64

brille-0.7.0-cp38-cp38-musllinux_1_1_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

brille-0.7.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

brille-0.7.0-cp38-cp38-macosx_10_15_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

brille-0.7.0-cp37-cp37m-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.7m Windows x86-64

brille-0.7.0-cp37-cp37m-musllinux_1_1_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.7m musllinux: musl 1.1+ x86-64

brille-0.7.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.5 MB view details)

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

brille-0.7.0-cp37-cp37m-macosx_10_15_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.7m macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: brille-0.7.0.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for brille-0.7.0.tar.gz
Algorithm Hash digest
SHA256 dea5f42f339cbf0065407722e8a1564f22b1225e8f53b6494672ba30bd1f4e9b
MD5 fe22efe53385fb8eca9ae434e0b843f3
BLAKE2b-256 eb55ccf2095ba62d55d397c270405ea8feb7746aa4d7efcc0fc6d67805fa9128

See more details on using hashes here.

File details

Details for the file brille-0.7.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: brille-0.7.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for brille-0.7.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 df240717833527dae17ebaf93e834e2ef6f16fed270829bad0a9e454af751a10
MD5 aa3b516c6baa6153c3db89c577e09a3a
BLAKE2b-256 62882c3002916d23bcf69ab3d5212575224ed47dde1f3c1b7ad6e5fdec8d52cb

See more details on using hashes here.

File details

Details for the file brille-0.7.0-cp311-cp311-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.7.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 f338e9b40f14f5df372ceaf1d49c1927357d7e9c076a0c3e3a91efd016f885f7
MD5 72a4dca70accf436902ddc940f982b5e
BLAKE2b-256 7cbddd82014f414c3d9394ca49567ab05863b681595b8313d3c6bae8cf69a115

See more details on using hashes here.

File details

Details for the file brille-0.7.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.7.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8785bc7ee42399261bd236e2125a746a5d06467fe0b6964812b9856a0ecad67c
MD5 5604bd8e96015b9da03c4f6069586ed9
BLAKE2b-256 618db3d8b930a283894c1a245472e4d4d512d04e435af9a4b22d0d7df76a3110

See more details on using hashes here.

File details

Details for the file brille-0.7.0-cp311-cp311-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.7.0-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 ee84cfd045916dd4d23412eb0e5da9b07124556f23de11dabf5d2b6cdf59945a
MD5 06e1496c0c5a85b6138f37848a19d104
BLAKE2b-256 e60559c18163882c6c351b3686ee935f66915338bf0cb15f12c02036551829f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.7.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for brille-0.7.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7b93cb362f5bedeaf2126cd78d5cb0c1d0f3e03e13848ed7b9a4db4b75f89a75
MD5 480fbd88440a3ba5436792589bc93906
BLAKE2b-256 32324ee713906e02219faf27d3e63d9d1b28bafb564e9baaf6fca82a716be690

See more details on using hashes here.

File details

Details for the file brille-0.7.0-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.7.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 009c3ee12c5178036e902e1a4cf881ca1dbef60bdaabf6895f58f3c025c896b1
MD5 26b6162c38c41a4340b60c668169e957
BLAKE2b-256 9af64b700cac3147f8890f99a44bd46d54553224bf5e2f7ab8d86b07fca45a98

See more details on using hashes here.

File details

Details for the file brille-0.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 58203e1a6a84839fc1d5f4a93c56cefc319c616164bae388daeb605a68cff92a
MD5 779989350c40d8b1080c3f10136e4e87
BLAKE2b-256 2368a93f61f243fa800f74be94f9ce61f478412aa40f45604f8a9d42725f0e47

See more details on using hashes here.

File details

Details for the file brille-0.7.0-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.7.0-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 ab5bac06c947cdaa59eb3275ba0e56b80c74b55f223d412be739838d4552ca8f
MD5 99fd8b29b991ac88df8b6cb631b68817
BLAKE2b-256 3e7c173eeafae0741ed0530b8b0dbc74ab1bc6754c841e67e5936ee8fa89e675

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.7.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for brille-0.7.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 4e1d4887d83f3f8ba19ac5b28d99f9ceb191e12ba0c5c170b5c643a3a5d5f002
MD5 4707085b6373c7601f8e188c3e137b15
BLAKE2b-256 b83bce2c89a6f41bac886745ddb38e59eb22999564d7675e8fa0b717622b65ad

See more details on using hashes here.

File details

Details for the file brille-0.7.0-cp39-cp39-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.7.0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 2f35fde404be742014895e2f79f5c847ce4dacec3086a1b84f2e896331350ca4
MD5 c679192319ed04e589ea8fbfde9221d4
BLAKE2b-256 34bcaf04521423dcf5f0576d32231e5d1c0b7b6060ae91aa78d19c08d743f206

See more details on using hashes here.

File details

Details for the file brille-0.7.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.7.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 46dc6b26b4ecf8760d3f2135db098f3bbebed0eda7304333a096b39fdf00d6e6
MD5 73b0c70e36f5d6766add78d3c6f31512
BLAKE2b-256 5c8eeec1f106c2c013fe272bbf796c4405b815b9be361bf725f30b8d40287a6b

See more details on using hashes here.

File details

Details for the file brille-0.7.0-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.7.0-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 6b438da04f15c04e9b0ee5b4dadf695af4492b93b8591d8e1b9b8e5238034ea3
MD5 79c9ffef3fcd7b90e63fcaec7ce073a9
BLAKE2b-256 4615c663f0fbff81fc7ebd7093178761a88d332924f5acfc20f0052ccc5d7335

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.7.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for brille-0.7.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 0b0197d5cae1644a2a8c1430ca19609e36dd96d4916676625d495adb678d290b
MD5 8fda741d1b879ca34e3aff911784b41c
BLAKE2b-256 2784efc1ab19d16b22a70c1e54b3701e238dc1603823ea9b4167a63fec561414

See more details on using hashes here.

File details

Details for the file brille-0.7.0-cp38-cp38-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.7.0-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 cf2f7e1b92fd77afdf4548221feb0301c45a5af0494d57f2c645c3ed3ff5704d
MD5 0d989c7d08f9f0ea8d493c414c0928af
BLAKE2b-256 304e8264d5b7403b28a720e6f6db11db69a4e0860f9b5c5e306b2fb7fc4408ff

See more details on using hashes here.

File details

Details for the file brille-0.7.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.7.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bac21dbd84a58bf86f646739f173868f340690a8ab21af508f311ddada9c4cf9
MD5 a880bb1338b0cb8dd343edb54c7867dc
BLAKE2b-256 d707f53246bbed833d0d250d4660dee2ca7c1c58f53826cf5375678e674c68b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.7.0-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 5bf61f254401deca3958385ea824153d8e8e22c660a5ee9ec73f38b71b72baad
MD5 e30ea91466e6bdd25f83b992e5b052d7
BLAKE2b-256 4743613e8968edcdb219d48ed7922291dd7a73734ef310c1f382981bdff730d7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.7.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for brille-0.7.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 ba709449649fdd886827a7b640255d7b5cd90468127545f736e1e0e999b9b5f8
MD5 d70e378927f20eeaabd77e6ad25f0a5e
BLAKE2b-256 29dd62cf52cfce06fdc84de858b3528a25d3068e18b31b36bc57f5a0be7fe31b

See more details on using hashes here.

File details

Details for the file brille-0.7.0-cp37-cp37m-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.7.0-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 055f2eb7b7fc9500d1ca324b1201c84fc5d4c5e9892b8212db113b576f6ee3c7
MD5 954549d954520fde63ddcab56f3ff83c
BLAKE2b-256 25ebdad9747d95f78ebf05a5f0a0780af2beee86dbdbd179c375ca7bca436529

See more details on using hashes here.

File details

Details for the file brille-0.7.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.7.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 337b6363d0c316eb4165fac88881a09bc5bb64ffc6149070eeed1a7a44867b07
MD5 d86e6382ea1b2695ad3d5a2220be6cb4
BLAKE2b-256 d9b5daf53a0e63e6e12945e9c0356f12a9cda67e82c8dc81c51679cc1c11dccf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.7.0-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 009d047e3c10e669a45c5bee65c89aa50cc4059f0d23dfc9d0e80117da92930b
MD5 8b2e5ee4b9a0e8caee11cd89dee928e2
BLAKE2b-256 a5373215ae4729940512b87fe9bc69f7194c6c5135867b157d07f95bd87c3207

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