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.6.tar.gz
.
File metadata
- Download URL: dispersion-1.0.6.tar.gz
- Upload date:
- Size: 33.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 999900faa08a875d573ae03b90ed09c33af2f46a92774ea2d9457c0c7a99f7f5 |
|
MD5 | ae4c3e650fd71f11a32f58ffd07d0f65 |
|
BLAKE2b-256 | 97a8b7083c23487ac0e32d8af89e0920230922bd46e1f885d3081495def534b5 |
File details
Details for the file dispersion-1.0.6-py3-none-any.whl
.
File metadata
- Download URL: dispersion-1.0.6-py3-none-any.whl
- Upload date:
- Size: 34.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b78a79a36ef4a07c0cc9916cd304785f00941d80105eabe032d560d421a49c64 |
|
MD5 | deb20f7ad47aaa2da88171b715182da1 |
|
BLAKE2b-256 | f21328ba2ca4045ca9ce40ade35d5d2475fec378a92c7cb07ddeb70b65564862 |