pyoptools.raytrace.mat_lib.mat_eq module

File that define the Material class and subclasses that follow https://refractiveindex.info/database/doc/Dispersion%20formulas.pdf for the dispersion formulas

class pyoptools.raytrace.mat_lib.mat_eq.Cauchy(coef, nd=None, vd=None)

Bases: pyoptools.raytrace.mat_lib.mat_eq.Material

n(l=0.58929)
class pyoptools.raytrace.mat_lib.mat_eq.Exotic(coef, nd=None, vd=None)

Bases: pyoptools.raytrace.mat_lib.mat_eq.Material

class pyoptools.raytrace.mat_lib.mat_eq.Gases(coef, nd=None, vd=None)

Bases: pyoptools.raytrace.mat_lib.mat_eq.Material

class pyoptools.raytrace.mat_lib.mat_eq.Herzberger(coef, nd=None, vd=None)

Bases: pyoptools.raytrace.mat_lib.mat_eq.Material

class pyoptools.raytrace.mat_lib.mat_eq.Material(coef, cl, nd=None, vd=None)

Bases: object

Base class to define an optical material. It receives the YML text as defined in https://refractiveindex.info/about

nd
vd
exception pyoptools.raytrace.mat_lib.mat_eq.ModelNotImplemented

Bases: Exception

Indicates that the model to calculate the index of refraction is not implemented yet

class pyoptools.raytrace.mat_lib.mat_eq.Polynomial(coef, nd=None, vd=None)

Bases: pyoptools.raytrace.mat_lib.mat_eq.Material

Class that define a material that complies with the Polynomial dispersion model as defined at https://refractiveindex.info/database/doc/Dispersion%20formulas.pdf

n(l=0.58929)
class pyoptools.raytrace.mat_lib.mat_eq.RefractiveIndex_Info(coef, nd=None, vd=None)

Bases: pyoptools.raytrace.mat_lib.mat_eq.Material

class pyoptools.raytrace.mat_lib.mat_eq.Retro(coef, nd=None, vd=None)

Bases: pyoptools.raytrace.mat_lib.mat_eq.Material

class pyoptools.raytrace.mat_lib.mat_eq.Sellmeier(coef, nd=None, vd=None)

Bases: pyoptools.raytrace.mat_lib.mat_eq.Material

Class that define a material that complies with the Sellmeier dispersion model as defined at https://refractiveindex.info/database/doc/Dispersion%20formulas.pdf

n(l=0.58929)
class pyoptools.raytrace.mat_lib.mat_eq.Sellmeier_2(coef, nd=None, vd=None)

Bases: pyoptools.raytrace.mat_lib.mat_eq.Material

Class that define a material that complies with the Sellmeier_2 dispersion model as defined at https://refractiveindex.info/database/doc/Dispersion%20formulas.pdf

n(l=0.58929)
class pyoptools.raytrace.mat_lib.mat_eq.Tabulated_N(coef, nd=None, vd=None)

Bases: pyoptools.raytrace.mat_lib.mat_eq.Material

Class that define a material that complies with the “tabulated n” format as provided by https://refractiveindex.info

n(l=0.58929)
pyoptools.raytrace.mat_lib.mat_eq.from_yml(file_path)

Create a material instance from a YML file path as defined at https://refractiveindex.info/about