Plot the Refractive Index of Optical Material: Silica#

This module demonstrates the usage of the PyOptik library to calculate and plot the refractive index of the optical material Silica glass over a specified range of wavelengths.

Refractive Index vs. Wavelength: [fused_silica]
import numpy
from PyOptik import MaterialBank

# Initialize the material with the Sellmeier model
material = MaterialBank.fused_silica

# Calculate refractive index at specific wavelengths
RI = material.compute_refractive_index(wavelength=[1310e-9, 1550e-9])

# Display calculated refractive indices at sample wavelengths
material.plot(
    wavelength=numpy.linspace(500e-9, 1500e-9, 300)
)

Total running time of the script: (0 minutes 0.233 seconds)

Gallery generated by Sphinx-Gallery