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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opticalglass-2.0.0.tar.gz (15.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opticalglass-2.0.0-py3-none-any.whl (7.5 MB view details)

Uploaded Python 3

File details

Details for the file opticalglass-2.0.0.tar.gz.

File metadata

  • Download URL: opticalglass-2.0.0.tar.gz
  • Upload date:
  • Size: 15.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for opticalglass-2.0.0.tar.gz
Algorithm Hash digest
SHA256 373209e9fd0cb0a8e169e7ac4bae1c4adbd43bc71141f1459fdd43e9fc88a9ca
MD5 fa8091f4140991a23242b9223961a531
BLAKE2b-256 e3c531d26f6d621aa0b3d2b2b9adbfc5a1d192c9adfacb508bfe6569b6f23184

See more details on using hashes here.

File details

Details for the file opticalglass-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: opticalglass-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for opticalglass-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 db47a40d0cb37ed13796271d291c1ae739ddff7f24d776c20baf25dc5cc2c6b3
MD5 0e6d9ba5429697119eb6a92057509142
BLAKE2b-256 44cb048da53554f637b38009b6650ed51ac78f0f340da0cb41791b0c730f9138

See more details on using hashes here.

Release history Release notifications | RSS feed

2.0.2

2 files

2.0.1

2 files

This release

2.0.0 This release

2 files

1.2.0

2 files

1.1.1

2 files

1.1.0

2 files

1.0.9

2 files

1.0.8

2 files

1.0.7

2 files

1.0.6

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.7.6

2 files

0.7.5

2 files

0.7.4

2 files

0.7.3

2 files

0.7.2

2 files

0.7.1

2 files

0.7.0

2 files

0.6.6

2 files

0.6.5

2 files

0.6.0

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page