Skip to main content

An ellipsometry analysis tool for reproducible and comprehensible building of optical models.

Project description

The pyElli logo

PyPI - Python Version PyPI DOI Pytest Documentation Status Ruff

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.
  • Use the vast library of materials from refractiveindex.info as reference materials.
  • Build up your structure 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.

Got a question?

If you have questions using pyElli please feel free to open a discussion in the Q&A or join our discord channel.

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 you don't want to have this functionality just drop the [fitting] in the end.

To increase performance of the 4x4 Solver, it is recommended to install PyTorch manually, as it is too big to include in the standard installation. Installation information can be found at the PyTorch Website. The CPU variant is sufficient, if you want to save some space.

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]"

How to cite

Until we have published a Paper on pyElli, we have prepared a Zenodo entry with DOIs for every pyElli Version. The can be found here.

Acknowledgements

@MarJMue receives financial support by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation), grant No. 398143140 (FOR 2824).

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

Uploaded Source

Built Distribution

pyElli-0.21.2-py3-none-any.whl (10.7 MB view details)

Uploaded Python 3

File details

Details for the file pyelli-0.21.2.tar.gz.

File metadata

  • Download URL: pyelli-0.21.2.tar.gz
  • Upload date:
  • Size: 12.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyelli-0.21.2.tar.gz
Algorithm Hash digest
SHA256 c38c0bac0bfdc4f48e15acbb4abfa448ad3f633f07ac2fb4000aacb4497e8de1
MD5 4e68c7c2d4cfe4e8d0b708606eaccdd5
BLAKE2b-256 c70afc561914eed18cdafc36caf0284fbcc564c7b37a58007c5085cc35ef595b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyelli-0.21.2.tar.gz:

Publisher: GitHub
  • Repository: PyEllips/pyElli
  • Workflow: python-publish.yml
Attestations:
  • Statement type: https://in-toto.io/Statement/v1
    • Predicate type: https://docs.pypi.org/attestations/publish/v1
    • Subject name: pyelli-0.21.2.tar.gz
    • Subject digest: c38c0bac0bfdc4f48e15acbb4abfa448ad3f633f07ac2fb4000aacb4497e8de1
    • Transparency log index: 147054675
    • Transparency log integration time:

File details

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

File metadata

  • Download URL: pyElli-0.21.2-py3-none-any.whl
  • Upload date:
  • Size: 10.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyElli-0.21.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b23be26e1454e47838664eabd98ae68bc158f3f4f34f25505215b2f89ec542f5
MD5 e9d07d7f3d839ab18688b9da88ca69db
BLAKE2b-256 e8305a6ce8091e8364465693792041cab7bb71b731b06b076b65991d7b7e266b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyElli-0.21.2-py3-none-any.whl:

Publisher: GitHub
  • Repository: PyEllips/pyElli
  • Workflow: python-publish.yml
Attestations:
  • Statement type: https://in-toto.io/Statement/v1
    • Predicate type: https://docs.pypi.org/attestations/publish/v1
    • Subject name: pyelli-0.21.2-py3-none-any.whl
    • Subject digest: b23be26e1454e47838664eabd98ae68bc158f3f4f34f25505215b2f89ec542f5
    • Transparency log index: 147054678
    • Transparency log integration time:

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