Skip to main content

Python implementation of Berremans 4x4 matrix method

Project description

pyElli logo pyElli logo

PyPI - Python Version PyPI DOI Pytest Documentation Status Code style: black

pyElli

PyElli is an open source numerical solver for spectral ellipsometry employing well-known 2x2 and 4x4 algorithms. It is intended for a broad case of problems including simple fitting of layered structures, anisotropic layers and any other light interaction with layered 1D structures. It serves as a system for the day to day ellipsometry task at hand and is easily extendable with your own dispersion models, EMAs or solvers. Our goal is to provide a reproducible and flexible tool for the needs of scientists working with spectral ellipsometry.

Features

  • A multitude of models to approximate the dielectric function of your material.
  • Build up your stru#cture easily from materials and layers.
  • Simulate reflection and transmission spectra, ellipsometric parameters and Mueller matrices.
  • Utilities to quickly convert, plot and fit your measurement data.
  • Powerful when necessary, editable and expandable.

How to get it

The installers for all releases are available at the Python Package Index (PyPI).

To install run:

pip install pyElli[fitting]

This installs pyElli with the additional fitting capabilities and interactive widgets. If don't want to have this functionality just drop the [fitting] in the end.

A complete environment for pyElli is also available as a Docker Container. To pull and run it directly just execute

docker run -p 8888:8888 domna/pyelli

from your local docker install. After startup a link should appear in your console. Click it and you will be directed to a jupyter server with the latest release of pyElli available.

To install the latest development version use:

pip install "pyElli[fitting] @ git+https://github.com/PyEllips/pyElli.git"

The source code is hosted on GitHub, to manually install from source, clone the repository and run pip install -e . in the folder to install it in development mode:

git clone https://github.com/PyEllips/pyElli
cd pyElli
pip install -e .[fitting]

Acknowledgements

  • Based on Olivier Castany's Berreman4x4
  • Solver2x2 based on Steve Byrnes' tmm

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

pyElli-0.14.0.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

pyElli-0.14.0-py3-none-any.whl (66.8 kB view details)

Uploaded Python 3

File details

Details for the file pyElli-0.14.0.tar.gz.

File metadata

  • Download URL: pyElli-0.14.0.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for pyElli-0.14.0.tar.gz
Algorithm Hash digest
SHA256 5aa9661715e184fa7b5ae2125eeba8faa8737253f9406833a15af9ca1cc12791
MD5 49188299d782631aec04e0970274b7c4
BLAKE2b-256 03f8674b872c7bbf15566346451e7d3946c6145a63420415810c5c74a6022c54

See more details on using hashes here.

Provenance

File details

Details for the file pyElli-0.14.0-py3-none-any.whl.

File metadata

  • Download URL: pyElli-0.14.0-py3-none-any.whl
  • Upload date:
  • Size: 66.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for pyElli-0.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ef31d209e530c51c1e7fc87217f97533a724b908d02f0af2503b7b4e0dc2151
MD5 0ad995127cfa50d5f9294f932546d0b9
BLAKE2b-256 c5391ad49fcda2de71f11c35c18a34c2e0d95dd6ad8d5ff1b006f6d4ebc77a59

See more details on using hashes here.

Provenance

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