Welcome to opticalmaterialspy’s documentation!¶
Contents:
Introduction¶
This documentation supports opticalmaterialspy, a library useful for storing and calculating common optical material parameters.
Examples¶
An example script.
Example 1¶
import opticalmaterialspy as mat
m = mat.SiO2()
# Refractive index @ 1550nm.
print('n(1.55e-6m):', m.n(1.55e-6)) # Knows 1.55e-6 must be [m].
print('n(1.55um):', m.n(1.55)) # Knows 1.55 must be [um].
print('n(1550nm):', m.n(1550)) # Knows 1550 must be [nm].
# Group velocity refractive index @ 900nm.
print('n_gv(900nm):', m.ng(900))
# Group velocity dispersion @ 808nm.
print('GVD(0.808um):', m.gvd(0.808))
API documentation¶
Materials¶
Classes¶
Air () |
|
Al2O3 (axis) |
|
Bbo (axis) |
|
Bibo (axis) |
|
Chalcogenide (chalcogenideType) |
|
Data (wls, ns) |
An object that facilitates importing materials from lists. |
Ktp (axis) |
|
Ln (axis[, temperatureCelcius]) |
|
LnMg (axis) |
|
LnMgTemp (axis[, temperatureCelcius]) |
|
RefractiveIndexWeb (web_link) |
Object to create a _Material based on data from https://refractiveindex.info/. |
SiO2 () |
|
Su8 () |
|
Tfln (axis[, temperatureCelcius]) |
|
TiO2 (axis) |
Class Inheritance Diagram¶
