Skip to main content

Dispersion

The dispersion Python package provides a way of loading and evaluating files containing the dispersion of the refractive index of materials.

License: MIT DOI

Read the full documentation at https://dispersion.readthedocs.io/en/latest/index.html

Background

In optics, the phenomenon that the refractive index depends upon the frequency is called the phenomenon of dispersion, because it is the basis of the fact that light is "dispersed" by a prism into a spectrum.

Feynman Lectures in physics

Getting Started

Python is required to install and use the dispersion package. It is recommended to use a package manager such as pip to install the package. ::

pip install dispersion

now we need to tell the package where you are going to store the material data files. To do this we run the script that comes with the package ::

dispersion_setup

This script will ask you to type in the path to a folder where the database file structure will be installed. Secondly, you will be asked to name the database. Finally you will be asked if you would like to install the available modules.

Now that the database has been setup, we can start using the package. For examples and further documentation, see the related pages.

Release files for dispersion 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dispersion 1.0.6
File Size Uploaded
dispersion-1.0.6.tar.gz 33.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dispersion 1.0.6
File Interpreter ABI Platform
dispersion-1.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 67.5 kB

Release files / dispersion-1.0.6.tar.gz

Download URL dispersion-1.0.6.tar.gz
Size 33.5 kB
Tags Source
SHA-256 checksum
How to use checksums
999900faa08a875d573ae03b90ed09c33af2f46a92774ea2d9457c0c7a99f7f5
BLAKE2b-256 checksum
How to use checksums
97a8b7083c23487ac0e32d8af89e0920230922bd46e1f885d3081495def534b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / dispersion-1.0.6-py3-none-any.whl

Download URL dispersion-1.0.6-py3-none-any.whl
Size 34.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b78a79a36ef4a07c0cc9916cd304785f00941d80105eabe032d560d421a49c64
BLAKE2b-256 checksum
How to use checksums
f21328ba2ca4045ca9ce40ade35d5d2475fec378a92c7cb07ddeb70b65564862
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page