Material

class raytracing.Material

Bases: object

classmethod Vd()

Synonym of Abbe number of the glass.

classmethod abbeNumber()

Abbe number of the glass, which is a measure of how dispersive the glass is.

classmethod all()

Returns the class names of all materials implemented.

classmethod findByIndex(n, wavelength, tolerance=0.05)

Identify the material based on a index value and a tolerance.

classmethod findByName(name)

Identify the material and match it with a class used in Raytracing. This can fail if we do not have that material in the materials.py.

classmethod n(wavelength)

The index of a material is implemented as a classmethod. Return the value for the wavelength in microns.

Methods

Vd()

Synonym of Abbe number of the glass.

abbeNumber()

Abbe number of the glass, which is a measure of how dispersive the glass is.

all()

Returns the class names of all materials implemented.

findByIndex(n, wavelength[, tolerance])

Identify the material based on a index value and a tolerance.

findByName(name)

Identify the material and match it with a class used in Raytracing.

n(wavelength)

The index of a material is implemented as a classmethod.

Inherited Methods

__init__()