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

Uploaded Source

Built Distributions

brille-0.6.0-cp310-cp310-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.10 Windows x86-64

brille-0.6.0-cp310-cp310-musllinux_1_1_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

brille-0.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

brille-0.6.0-cp310-cp310-macosx_10_13_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.10 macOS 10.13+ x86-64

brille-0.6.0-cp39-cp39-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.9 Windows x86-64

brille-0.6.0-cp39-cp39-musllinux_1_1_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

brille-0.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

brille-0.6.0-cp39-cp39-macosx_10_13_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.9 macOS 10.13+ x86-64

brille-0.6.0-cp38-cp38-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.8 Windows x86-64

brille-0.6.0-cp38-cp38-musllinux_1_1_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

brille-0.6.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

brille-0.6.0-cp38-cp38-macosx_10_13_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.8 macOS 10.13+ x86-64

brille-0.6.0-cp37-cp37m-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.7m Windows x86-64

brille-0.6.0-cp37-cp37m-musllinux_1_1_x86_64.whl (3.5 MB view details)

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

brille-0.6.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.9 MB view details)

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

brille-0.6.0-cp37-cp37m-macosx_10_13_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.7m macOS 10.13+ x86-64

brille-0.6.0-cp36-cp36m-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.6m Windows x86-64

brille-0.6.0-cp36-cp36m-musllinux_1_1_x86_64.whl (3.5 MB view details)

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

brille-0.6.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.9 MB view details)

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

brille-0.6.0-cp36-cp36m-macosx_10_13_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.6m macOS 10.13+ x86-64

File details

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

File metadata

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

File hashes

Hashes for brille-0.6.0.tar.gz
Algorithm Hash digest
SHA256 bb92d37dda175e83cafd3a85e9df2f090bd37bd57e45ec1347ef376fa30df1f7
MD5 0c7f979ae635b35054d3b8882181e05e
BLAKE2b-256 ce80a7b05a912523cb281e4b221f1af4f1d8800de63c2b5d850395374382f181

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for brille-0.6.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 451593685e260c4ff55a98d0e476a634e0cce90c0d52719c28d113201c587858
MD5 482d63bb085f2403bd617044f0a5062a
BLAKE2b-256 6ec5b6c18c725a1d338d9b302cd1886ac446bb7aba6d62932d9fa9126caac808

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.6.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 b086b8c137f6dfc15e65f20a5b3ef598162772ceda7d926fae030bb8900cad96
MD5 55b759f44711f43d63f34bdfc373420a
BLAKE2b-256 92ba03c614e90d6f25b2f00689627690c4056f28a729f0728f1dcca3ea8f0e27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 181916e6a42485bcb8cf57de5c9b71043b8ad39ef28da5ab4e37030ace0f4c39
MD5 7c00e54bfc8a3816a071792a9939df9c
BLAKE2b-256 6d597286fe84aaa162be43de2f057a36643fcf1e4086865ba2abb942eca91805

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.6.0-cp310-cp310-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 99df876a0a60a5f3d35596717fc97f4895643cfef5fb5706dcae2d9e108056cc
MD5 aa80b8da001a5f27c8f36d5ebb375a84
BLAKE2b-256 fb9083d43ad1966cb383a06246d9a7b7ead3a860a7cafe95a7812009fd036403

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for brille-0.6.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 ba34af2a3407699142a39257fb106856efd1ccc4173d586c5fef67d4470fb4da
MD5 af6528788169e1aa99e3fda27e2c4ed5
BLAKE2b-256 d608044eaac9c0730b2195a4c758ebb3a78e850068f304d65d049b7ae957f3a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.6.0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 0ba5e08ad7983682851010da125de80431ba08f40b3a382076b28d4104e33732
MD5 0ac6cb8727d06b8d75082472b2b552ee
BLAKE2b-256 76eade7fd1c4c2016588eed59ae7e40a1be1a09e2c1e4f70c26ba5622278371a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d281a7fa0bc8b78fd49406bd5e4ff9ba92d5b8f715dd378280739f1bbc07e043
MD5 72a7e369e6014516ad05f717d3df628b
BLAKE2b-256 424c21c8219c905726deb7d2b77c81e6363e847e0f3ec1e5977a2c98367c8704

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.6.0-cp39-cp39-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 2433b0eb1af32d47b1d8fe5b0fd257eb0aa8e0f5864a1348d4dd072d3de907c8
MD5 b49a8a8c898ffd293bdb61bda20d6596
BLAKE2b-256 b28baf5bd7ed04cf885cae13e1c2ac20bc2fef73b9a90a2d3e9061e8dd50aa00

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for brille-0.6.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 482366000fa529988f5138b3769efc80d078ebd578e433ac32d241b844df4a67
MD5 3900577ed77f8fb95d3878de3c1f91b5
BLAKE2b-256 a57cd6ece3de9b9d5e3201fc4d8f86ef75f3cbe4f35f4ff5c9da80c070375694

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.6.0-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8ddb2cc211945db8909b0a3b10a05af0642c4e6d377f67d7620acd336e7b1fd6
MD5 58ac43553dd249023e03ccc816ebfe23
BLAKE2b-256 5ff5689973837b5e02ce8a7efbe3b991eec1b29f4ae3d62a642f4495204d6405

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.6.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c24bd27a819803124ec94a202cd5f8d154bb8faf598ade0edea4342e485f0013
MD5 8c8e8abe20b40dd8e06aef2e9f9acea0
BLAKE2b-256 804b83ca3509d513700e509f5e7c6c8452d86c1a38ae31993f8ca08f56d71273

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.6.0-cp38-cp38-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 836cad9fdb024c54edac863cbfac0e6029015fd4917bb8a2b117f73e0419b073
MD5 0a7f49c2abe65399c9bd34eedac65123
BLAKE2b-256 5166c8bee794953c454939be96ca4c797437a151f59c9fdea1e36150d89f8fd4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for brille-0.6.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 4b5f9919ebbd935220d0510761fadb79a0e2899585146ca9bcfffe14e9834e33
MD5 ee95adb53248fcace6e6e847619e477d
BLAKE2b-256 e5a23ce852375a44d22b7efdd84a96c87cf53d6f78ee07da012b5d28dabbce3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.6.0-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 5f42603a731e9c396f003cebf1dc5be63d23929cc1b21094408e348a51d15c63
MD5 2984c4cc662da3735197738e806819c8
BLAKE2b-256 c4488f968c48c940eb5fd6dd1e8ae880e595383708698e568b9694c3310455a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.6.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d344f1ec7e3f1b4834cb5cee8bcc236075a33d3ce04095e73b3f49aacca718eb
MD5 ade49d53bd355b0f8df0bdd8a41b335e
BLAKE2b-256 bc9af5769f538f77c638fd2755f33be9b7d65f91949c31323c01d74b15cb2472

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.6.0-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 f856cffe365fa09f574678e3342894b97887c6eb87df908f2eb773421c1e9a85
MD5 11e342cb854a3449ade3ad3476221be0
BLAKE2b-256 a4e925a446bcc7e8dffd27e67ba27a568ad455274faaf80504e539f760bf2402

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brille-0.6.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 5.1 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for brille-0.6.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 527e33438500900270fdb0af42080a04bfc34f81f3f16d4b94094a6285736845
MD5 0a4ff2efac736426ec6a7b3c8f1d9980
BLAKE2b-256 1a4ef1502e729b9459c7b8b226d04d5f2b140e65acb0e29e9163ba64fd1d93e2

See more details on using hashes here.

File details

Details for the file brille-0.6.0-cp36-cp36m-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for brille-0.6.0-cp36-cp36m-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 478f558aca8b93c2c51b96c43b5379ed5515d25fbd681fb19dce96fdcf0004e0
MD5 4a1c60cbad56f29b3cb1c08a23795ff6
BLAKE2b-256 4c9f232552123de3fee1ac0085c2619b6bbdcdf854ad944706c1a2bc26a96e17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.6.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5e6678bacea8943b84a3bea8a025f3162d2ebe4f30516227a29aca4fe7944911
MD5 826f5a22d5df500c64ee6df95cebd7b9
BLAKE2b-256 4611c735bddfa85cd1a1f966dcbe1fd61f19e187283fc4c0bea1b26be660ffb5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brille-0.6.0-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 1c55d7af16ea983d0c4c996f9de463cc20a861d8942387c4986e205d6d4e4ddc
MD5 ab93899bcd66cd170baa62fe7d7be9da
BLAKE2b-256 36e94b0888cf759b930b231e5fef8ef597458d81dbaafba9a34048ed2191658c

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