Skip to main content

A library for implementing the Berreman 4X4 matrix method alongside Mueller matrices

Project description

BerreMueller

Combination of Berreman Matrix Method with Mueller Calculus and with material propety tensor modelling

Dependencies my be installed by running

pip install matplotlib numpy pandas scipy sympy 

This repository is a tool for implementing the Berreman Matrix Method, Mueller Calculus, and the modelling of material property tensors. For the Berreman Matrix Method, it relies on an updated version of Pyllama (GPL 3.0) in pyllama.py and cholesteric.py: Bay, M. M., Vignolini, S., & Vynck, K. (2022). PyLlama: A stable and versatile Python toolkit for the electromagnetic modelling of multilayered anisotropic media. Computer Physics Communications, 273, 108256. https://pyllama.readthedocs.io/en/latest/ Pyllama has been updated to allow for spectral dispersion and for modification of the magneto-optic and permeability tensors.

For Mueller calculus, core handling is in mueller.py with transformations from the Berreman Method to Mueller matrices occuring in berreman_mueller.py.

Molecular property tensors, with a focus on the dielectric tensor, are handled in dielectric_tensor.py.

This repository shares some code with SalijPhDWork (GPL 3.0), but here only the code necessary for running optical matrix calculations has been separated and all scripts/data for specific papers are omitted.

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

berremueller-1.0.4.tar.gz (86.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

berremueller-1.0.4-py3-none-any.whl (88.5 kB view details)

Uploaded Python 3

File details

Details for the file berremueller-1.0.4.tar.gz.

File metadata

  • Download URL: berremueller-1.0.4.tar.gz
  • Upload date:
  • Size: 86.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for berremueller-1.0.4.tar.gz
Algorithm Hash digest
SHA256 5baa9a0c27a655ea8694673900f4cf87d3d90cde788c408eac48906f3159de07
MD5 248be295357bbd2eca893ad5b92f3176
BLAKE2b-256 0a81e9841ab19adbcf11d3f099f7465906ef961dd4a2daf95f61654c3d46b5fb

See more details on using hashes here.

File details

Details for the file berremueller-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: berremueller-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 88.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for berremueller-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e7c604ca8d7c5ade363a9f41d82e27c2a5cbc9db6452188b1593c69def989089
MD5 b90d97e774c716daa85cae4e39f46436
BLAKE2b-256 fc8b1f4275f593fed925e969195b548fa51c0d5b76e91def9909c75cba64fab3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page