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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyElli-0.14.1.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.1.tar.gz
Algorithm Hash digest
SHA256 6d78ae751f8755288ffd4c292ad337c2f058622bd472ce7604e23d4c88a7d948
MD5 34f197c1528b70e20c178bdfb6d00a9d
BLAKE2b-256 6a71163ca3a9b6cd06e20c143dc2cd6732a7e8159fca8aa2282363af8b21b50e

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyElli-0.14.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 12772bd439f0bd8b7917e4499f72ad0bb29427d2dfbf1247c2db7844c27be995
MD5 e0870da7032616e179d89d769cd25459
BLAKE2b-256 d7d992a9ea239bd5c1db0d13cef57d574987cc03bc8df257b71a5fb216926338

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