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

Uploaded Source

Built Distributions

brille-0.8.0-cp312-cp312-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.12 Windows x86-64

brille-0.8.0-cp312-cp312-musllinux_1_2_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.12 musllinux: musl 1.2+ x86-64

brille-0.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

brille-0.8.0-cp312-cp312-macosx_11_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

brille-0.8.0-cp312-cp312-macosx_10_15_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.12 macOS 10.15+ x86-64

brille-0.8.0-cp311-cp311-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.11 Windows x86-64

brille-0.8.0-cp311-cp311-musllinux_1_2_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ x86-64

brille-0.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

brille-0.8.0-cp311-cp311-macosx_11_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

brille-0.8.0-cp311-cp311-macosx_10_15_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.11 macOS 10.15+ x86-64

brille-0.8.0-cp310-cp310-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.10 Windows x86-64

brille-0.8.0-cp310-cp310-musllinux_1_2_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ x86-64

brille-0.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

brille-0.8.0-cp310-cp310-macosx_11_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

brille-0.8.0-cp310-cp310-macosx_10_15_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

brille-0.8.0-cp39-cp39-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.9 Windows x86-64

brille-0.8.0-cp39-cp39-musllinux_1_2_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

brille-0.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

brille-0.8.0-cp39-cp39-macosx_11_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

brille-0.8.0-cp39-cp39-macosx_10_15_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

brille-0.8.0-cp38-cp38-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.8 Windows x86-64

brille-0.8.0-cp38-cp38-musllinux_1_2_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.8 musllinux: musl 1.2+ x86-64

brille-0.8.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

brille-0.8.0-cp38-cp38-macosx_11_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

brille-0.8.0-cp38-cp38-macosx_10_15_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: brille-0.8.0.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for brille-0.8.0.tar.gz
Algorithm Hash digest
SHA256 48e2f0418f1a4f978addae3fd6c9daa5ac8c7a613c9f8ec9ab0d68f036d5a632
MD5 70969791195d96d0e5aa645761b1f027
BLAKE2b-256 531c5c7ac08daf1739430a17762fb1f82a76674323328cc87271a09efc455df8

See more details on using hashes here.

File details

Details for the file brille-0.8.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: brille-0.8.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for brille-0.8.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c0f9ba45c7a61e8eee82ed416dc11704eefb687ed2e27758ca5dee7391f6d09e
MD5 a0fee7f0d768874f86efcbeaa70d711d
BLAKE2b-256 ba9f4896e8740a1f8a2067a5821dcc12a091de8e1384918ba089fcdbf4937cd8

See more details on using hashes here.

File details

Details for the file brille-0.8.0-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.8.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 61fa6e884d9d0bf895bbd726c459f74e6df78c679a55d9c49acf19b1fadff6c0
MD5 cd5d4a288fb70d6e48c5b5749f21242c
BLAKE2b-256 b37d27b08cf49427531357750d99491f415664192f20c8e66daf6b2a1463a6f5

See more details on using hashes here.

File details

Details for the file brille-0.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4ac5bd9612932cbf8130711569756b0339a915cb74f0c4b5bfb4b973a00a8f9d
MD5 0eb321269d6b321bef1129903594d107
BLAKE2b-256 91d417c9a8541988e393eccfde2679b0de9e3e7977b0fa33981107474cbe0ed1

See more details on using hashes here.

File details

Details for the file brille-0.8.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for brille-0.8.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 704bcb79839e4c5a706a7f47e0c7862e79db7aeff7d351f28ed5134326a264af
MD5 fa1a155cd376f4e64b16e7637f937171
BLAKE2b-256 e95e60c27436f7b0dd7a83d3c806a20e531f7c092ee6a23f57cae48a1f0fe077

See more details on using hashes here.

File details

Details for the file brille-0.8.0-cp312-cp312-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.8.0-cp312-cp312-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 4c604fb42e335b14cde5a6cb4efe32e7146ee1f75104c9ac64d9dc5988183193
MD5 ac14f9449cea2ed54df81e9d414130bd
BLAKE2b-256 d694a952d3b96e2e82b5e848ccb3789a7abeec8b7648f91bb25280d7c98b7376

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.8.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for brille-0.8.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b41e595995f21294d4f8c8168e7a3fc9f9feeabe506e1da653d68076d60bd2d0
MD5 0bce38620c926c3565f78897d42b82da
BLAKE2b-256 b2a8f743d87a170c286297994f15e07a52bdfda489dc1f42d7f0b25e769a71ba

See more details on using hashes here.

File details

Details for the file brille-0.8.0-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.8.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 378c1d6e5859b442f7e93ec65a016c05371ab4363ea07bad677f5782d34481b1
MD5 bab80520d8179a84dc1b69b847c5ff88
BLAKE2b-256 afd0b5db86a3d70ef4808da23c87698c25216b6d2c8bbc4857cb825dd3ee11dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 08c3ecf7da1a183e2c15d7d4f045bfb81672b31de20ba53caa2d23adcd254a43
MD5 b1dff379733ce7fa110753f785324750
BLAKE2b-256 a99a889902205f6fb14b34a93e214f7c7786d0b7a3db029332b29c188e2f16f1

See more details on using hashes here.

File details

Details for the file brille-0.8.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for brille-0.8.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4bea275151378dad7d1abf56cc808485606aa3afed2184de5c7d8610d904b0c2
MD5 48cd94c9419aeebd6d0a967e4a449716
BLAKE2b-256 edceb920694f72755989203c026800a488d516bcccf54962838d5e1930fb794e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.8.0-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 b38c6eeb0743af99fe49b7615fed88d2a26fe5a70c32b6fc3eba404eb5c9aacc
MD5 032508e9b3f37b5436688b153411cea9
BLAKE2b-256 d5c504df4002e2c4d701eb94564930807b71f59b02a11cf9bc3b6c88030b6d19

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.8.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for brille-0.8.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 06065c4b1f3fa9f91649dfb49b971a6d8cb378cb422460b827379edb806d6b70
MD5 a9e4b60775a3df0d0b687c697616f3c1
BLAKE2b-256 585f8196b1a4e67783d16c4ab3f933a12748045db0cdd7f8b51a29a6ccd6204d

See more details on using hashes here.

File details

Details for the file brille-0.8.0-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.8.0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 17b7ce094e2283b9f7fd924eca1c2abc9fd422959960bcdcd34337753c6a6ac7
MD5 87be980ed84c2346dbd60e5c85dd979d
BLAKE2b-256 a5031703d57a9eaa9de44bd98f70f571ce3349195826104ccee4041db1ca2ed2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8dfafad82497de9ac7bc8fd49f4b769639116f76cc50389d580daedcd5a56425
MD5 cc964f59fa70480193974fb67ed5ada9
BLAKE2b-256 92e84822fd1c1cd1c3ab949cb7591a54fcb726f012ccdfc6cc01ec484ae1c46c

See more details on using hashes here.

File details

Details for the file brille-0.8.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for brille-0.8.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 647bd72b7388168e9b956364902ea8c34385fea76a5a33e9cc37cfd739fdb140
MD5 9f8c6e10b87bc698822fbbbbb1a72f37
BLAKE2b-256 259be0c01dca58e2e6ebc7ca24de685dd3e2c7c4b11ab4ef73f1b382c154c555

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.8.0-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 fa48bb2cd5e2e2a56c130db1ce039e89e67091a9a2d3599d589003b8a2a9b1a2
MD5 77be567fb8dbc62602e1b3e8ea328aed
BLAKE2b-256 7e7fe71ffb04a67b14f17b433c1175c010c7b0cf0a21437028bfab9161544054

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.8.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for brille-0.8.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 bea498e143f452f5c686f91d12ad04e75c7eb818a66bb2a89ece98c7e7c55a8a
MD5 2a8e53c7d77b14fb2744f304d1508765
BLAKE2b-256 99f143edffd2675965a9d0e1d7923e8d73083c080cf5e27c71d988ebb062df3f

See more details on using hashes here.

File details

Details for the file brille-0.8.0-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.8.0-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ce3a48eacede101040e88b88a21994ded27ba5883e381a5b2e26ad1ad49a83f6
MD5 aba70277da1920e9fc1b5a65a9593bc4
BLAKE2b-256 7e3966af0b55952527dd15a3c8e777c487e4e95c936bef290e8031e4d65e508c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1c303932c8637a96452b9b68594763f52aac222f2b0f29a80150686d6ffb9de5
MD5 6fa301405f0b54d79c86d7837faa1f65
BLAKE2b-256 e33e439bba61b7c6198bd6a1268cf4a8d7064bd5850897698b01914193567647

See more details on using hashes here.

File details

Details for the file brille-0.8.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for brille-0.8.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3d1c35c21fa86c9c61ba0866b629851d2e705986d75c6b74108837c5e148e8ab
MD5 a732f36666fb1ca9e45806d966c17747
BLAKE2b-256 fb4143063527d2742040c977de9d38d1a6bcbca77e17f5b949b732dba940664a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.8.0-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 e45eecfe0fdbeacab4076c381ee14347e8d1c9007d761f40fae6a3af37e26ecc
MD5 7ded9a6ba119135a6609a743dea6a513
BLAKE2b-256 f462a0edcd2002074aabcba64452ced96ee47c62c94324211d4166b56e2dff5e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.8.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for brille-0.8.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 39d1c7fd3027d14106a13e6eb25a8e9e2a0551bb5f9091ff7fce09822f860fd8
MD5 080c8e038475c446730c61ff49516245
BLAKE2b-256 3aa62b6354f04fcc38ba8fe9c303d7958af4ed346733fbe82ce0f66eff075bca

See more details on using hashes here.

File details

Details for the file brille-0.8.0-cp38-cp38-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.8.0-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b24bcc7eb14c3a1b9bac765ef0e956daf3cb42da7f16bd1ea72e634701f0038d
MD5 95e1a97d455b1d60d0ca4facb75c0fd9
BLAKE2b-256 5147ffaac7a0319fec0418d416ca8ec51bee326fd5e0089a2571c70cd377a9f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.8.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6347f019c1aa84e4f8979fa2a826820b2d0e3157673e86ece65766cfef3a3b3f
MD5 171046bf4e9bb46e0c677191ba1b62c7
BLAKE2b-256 c203f3a837ab4e29e235998d197b0318b7948e6c185b4bd59ad5b67e18c444db

See more details on using hashes here.

File details

Details for the file brille-0.8.0-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for brille-0.8.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1c0f89e39c95ac1afed122b8312995812aa8d49d65c5c1694e354386e86f24c8
MD5 cf49ca9ccd9b253d768d467676384be3
BLAKE2b-256 c6e4fa33195bab1e3bbe44de500ee5e62e593dc5c14b81114c21465a67e61593

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.8.0-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 3c27bf57c444186cb84db5cc01e4210fbcb6c7b09e8d7652dc131dc7c86f6191
MD5 cf5b02de18ee06104cf39dd3a4ad7e7f
BLAKE2b-256 21dd958d8a7bbc6407540b35af760a3da6eb6736dfd98575411433fb0785314f

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