OpticalGlass
Tools for reading optical material catalogs and libraries
Common interface for sources of optical material data
OpticalGlass provides a common API for querying refractive index data and other properties to a number of different optical material data sources. These include:
Excel spreadsheets published by optical glass manufacturers
Zemax ANSI Glass Format (.agf) files
The RefractiveIndex.INFO database
The global function create_glass returns a glass object given a glass name and, optionally, a catalog name. This glass instance can be queried for refractive index and transmittance values.
Interface to optical glass manufacturer glass data spreadsheets
The excel spreadsheets published by optical glass manufacturers are imported using pandas. The imported data is read into a dataframe and then mapped to the final glass catalog dataframe, with a common set of headings for different data categories.
The package currently supports the following manufacturers:
CDGM
Hikari
Hoya
Ohara
Schott
Sumita
Interface to .AGF files
OpticalGlass provides a wrapper around the .agf file importer in the ZemaxGlass package. Each .agf file is mapped to a Glass Catalog.
Interface to RefractiveIndex.INFO database
An interface to the RefractiveIndex.INFO database, using both the InterpolatedMedium and RIIMedium classes, is available.
Glass Map Application
A desktop application is installed as part of OpticalGlass. It is invoked by running glassmap at the command line.
Documentation
The documentation for OpticalGlass is hosted at Read the Docs
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opticalglass-2.0.2.tar.gz.
File metadata
- Download URL: opticalglass-2.0.2.tar.gz
- Upload date:
- Size: 15.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf09c70d67d7e32dc375ef4dfc3d4447056eb200c406011eddb31a8068fa71ab
|
|
| MD5 |
75d8b87b71eef45434ef10b37a756d97
|
|
| BLAKE2b-256 |
d1bcf4852143effd48c325dcf0f7c12c041bc882afd6043f6106beb659ff4b6a
|
File details
Details for the file opticalglass-2.0.2-py3-none-any.whl.
File metadata
- Download URL: opticalglass-2.0.2-py3-none-any.whl
- Upload date:
- Size: 7.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c716a73bfeb0381476eda89a659cfb5b03010b1343cc209c574c5052e557160c
|
|
| MD5 |
50f549392ca18ff064e9bb5fd78f4eb7
|
|
| BLAKE2b-256 |
fce8f3500089bdca175718feeaeba5e27edab7282a3b6d55fb35ec0b37cfdb26
|