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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dispersion-1.0.4.tar.gz
.
File metadata
- Download URL: dispersion-1.0.4.tar.gz
- Upload date:
- Size: 30.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3822635eb1c5d49cc275ee68dda3f17ac3965aba4e6fb9ffb577c66da2d8ce63 |
|
MD5 | 8dfb1b193e61563a9d3e284c12c4c537 |
|
BLAKE2b-256 | f68d9fda0443980b72f4afc1b7ed0cb824a9681aadd78ee413fb8c12e5537a7c |
File details
Details for the file dispersion-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: dispersion-1.0.4-py3-none-any.whl
- Upload date:
- Size: 33.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0a6951577df84493f34057ce44f6ee516ef8b34b004bf02bc1af973475f8cb3 |
|
MD5 | fa2e8c91b7d54f01f29cda3236bb913c |
|
BLAKE2b-256 | 78e4a606601fc5bf11145d742e7bd577e65a34b5a21786a608759f93d9a9b0ca |