Skip to main content

support for libraries of optical dispersion (refractive index) data files

Project description

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.

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

dispersion-1.0.0.tar.gz (30.0 kB view details)

Uploaded Source

Built Distribution

dispersion-1.0.0-py3-none-any.whl (33.3 kB view details)

Uploaded Python 3

File details

Details for the file dispersion-1.0.0.tar.gz.

File metadata

  • Download URL: dispersion-1.0.0.tar.gz
  • Upload date:
  • Size: 30.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for dispersion-1.0.0.tar.gz
Algorithm Hash digest
SHA256 712f022fdd2e9322fb2531e9efb45e08061bcba1dc4f6c25df03ba11d089fea9
MD5 42f24a0bb7b346fe1ace7caf4624a780
BLAKE2b-256 7326e16ec3bc269fb495903ee83501e27fe437bb8844963df6d08a5718a180bc

See more details on using hashes here.

File details

Details for the file dispersion-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: dispersion-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 33.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for dispersion-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1eba5fad63a0ccea1c35f89bbd313788fb276257f1499c61b32932dc7fe1f9e1
MD5 160acf02e7e7023791a8bbd7ac11d664
BLAKE2b-256 6230dddc106d69735f88a5f9071e8e6fa5ba27f8772ea3564aaa517393bf9a9e

See more details on using hashes here.

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