Skip to main content
ReadTheDocs PyPI-Server Conda-Forge

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

Metadata

Release files for opticalglass 2.0.2

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

Source distribution (sdist)

Source distribution for opticalglass 2.0.2
File Size Uploaded
opticalglass-2.0.2.tar.gz 15.3 MB Details

Built distribution (wheel)

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

Total release size: 22.8 MB

Release files / opticalglass-2.0.2.tar.gz

Download URL opticalglass-2.0.2.tar.gz
Size 15.3 MB
Tags Source
SHA-256 checksum
How to use checksums
cf09c70d67d7e32dc375ef4dfc3d4447056eb200c406011eddb31a8068fa71ab
BLAKE2b-256 checksum
How to use checksums
d1bcf4852143effd48c325dcf0f7c12c041bc882afd6043f6106beb659ff4b6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / opticalglass-2.0.2-py3-none-any.whl

Download URL opticalglass-2.0.2-py3-none-any.whl
Size 7.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c716a73bfeb0381476eda89a659cfb5b03010b1343cc209c574c5052e557160c
BLAKE2b-256 checksum
How to use checksums
fce8f3500089bdca175718feeaeba5e27edab7282a3b6d55fb35ec0b37cfdb26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release history Release notifications | RSS feed

This release

2.0.2 This release

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.7.6

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

1 release file

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