visisipy.models.materials#

Optical properties of materials used in eye models.

Classes#

MaterialModel

Optical properties of a material.

EyeMaterials

Material parameters of the elements of an eye.

NavarroMaterials

Material parameters of an eye, according to the Navarro model [1].

NavarroMaterials458

Material parameters of an eye for a wavelength of 458 nm, according to the Navarro model [1].

NavarroMaterials543

Material parameters of an eye for a wavelength of 543 nm, according to the Navarro model [1].

NavarroMaterials589

Material parameters of an eye for a wavelength of 589.3 nm, according to the Navarro model [1].

NavarroMaterials633

Material parameters of an eye for a wavelength of 632.8 nm, according to the Navarro model [1].

BennettRabbettsMaterials

Material parameters of an eye, according to the Bennett-Rabbetts model [1].

GullstrandLeGrandUnaccommodatedMaterials

Material parameters of an unaccommodated eye, according to the Gullstrand-LeGrand model [1].

GullstrandLeGrandAccommodatedMaterials

Material parameters of an accommodated eye, according to the Gullstrand-LeGrand model [1].

Module Contents#

class visisipy.models.materials.MaterialModel#

Optical properties of a material.

Attributes:
refractive_indexfloat

The refractive index of the material.

abbe_numberfloat

The Abbe number (or V number) of the material, which is a measure of the material’s dispersion (variation of refractive index with wavelength).

partial_dispersionfloat

The partial dispersion of the material, which is the difference in the refractive index of the material at two specific wavelengths.

to_dict() dict[str, float]#

Convert the material model to a dictionary.

Returns:
dict[str, float]

A dictionary representation of the material model.

classmethod from_dict(data: dict[str, float]) MaterialModel#

Create a material model from a dictionary.

Parameters:
datadict[str, float]

A dictionary with the material model parameters.

Returns:
MaterialModel

A material model instance.

class visisipy.models.materials.EyeMaterials#

Material parameters of the elements of an eye.

Attributes:
corneaMaterialModel

Refractive model of the cornea.

aqueousMaterialModel

Refractive model of the aqueous humour.

lensMaterialModel

Refractive model of the crystalline lens.

vitreousMaterialModel

Refractive model of the vitreous humour.

to_dict() dict[str, Any]#

Convert the eye materials to a dictionary.

Returns:
dict[str, Any]

A dictionary representation of the eye materials, including a "type" key with the class name.

classmethod from_dict(data: dict[str, Any]) EyeMaterials#

Create eye materials from a dictionary.

Parameters:
datadict[str, Any]

A dictionary with the eye materials parameters. Must contain a "type" key with the class name.

Returns:
EyeMaterials

An eye materials instance of the class specified by data["type"].

Raises:
ValueError

If the "type" value in data does not correspond to a known materials class.

class visisipy.models.materials.NavarroMaterials#

Bases: EyeMaterials

Material parameters of an eye, according to the Navarro model [1].

The Navarro model defines refractive indices at various wavelengths. These data were used to fit the material models in OpticStudio.

Attributes:
corneaMaterialModel

Refractive model of the cornea.

aqueousMaterialModel

Refractive model of the aqueous humour.

lensMaterialModel

Refractive model of the crystalline lens.

vitreousMaterialModel

Refractive model of the vitreous humour.

References

[1] (1,2)

Escudero-Sanz, I., & Navarro, R. (1999). Off-axis aberrations of a wide-angle schematic eye model. JOSA A, 16(8), 1881-1891. https://doi.org/10.1364/JOSAA.16.001881

class visisipy.models.materials.NavarroMaterials458#

Bases: EyeMaterials

Material parameters of an eye for a wavelength of 458 nm, according to the Navarro model [1].

Attributes:
corneaMaterialModel

Refractive model of the cornea.

aqueousMaterialModel

Refractive model of the aqueous humour.

lensMaterialModel

Refractive model of the crystalline lens.

vitreousMaterialModel

Refractive model of the vitreous humour.

References

[1] (1,2)

Escudero-Sanz, I., & Navarro, R. (1999). Off-axis aberrations of a wide-angle schematic eye model. JOSA A, 16(8), 1881-1891. https://doi.org/10.1364/JOSAA.16.001881

class visisipy.models.materials.NavarroMaterials543#

Bases: EyeMaterials

Material parameters of an eye for a wavelength of 543 nm, according to the Navarro model [1].

Attributes:
corneaMaterialModel

Refractive model of the cornea.

aqueousMaterialModel

Refractive model of the aqueous humour.

lensMaterialModel

Refractive model of the crystalline lens.

vitreousMaterialModel

Refractive model of the vitreous humour.

References

[1] (1,2)

Escudero-Sanz, I., & Navarro, R. (1999). Off-axis aberrations of a wide-angle schematic eye model. JOSA A, 16(8), 1881-1891. https://doi.org/10.1364/JOSAA.16.001881

class visisipy.models.materials.NavarroMaterials589#

Bases: EyeMaterials

Material parameters of an eye for a wavelength of 589.3 nm, according to the Navarro model [1].

Attributes:
corneaMaterialModel

Refractive model of the cornea.

aqueousMaterialModel

Refractive model of the aqueous humour.

lensMaterialModel

Refractive model of the crystalline lens.

vitreousMaterialModel

Refractive model of the vitreous humour.

References

[1] (1,2)

Escudero-Sanz, I., & Navarro, R. (1999). Off-axis aberrations of a wide-angle schematic eye model. JOSA A, 16(8), 1881-1891. https://doi.org/10.1364/JOSAA.16.001881

class visisipy.models.materials.NavarroMaterials633#

Bases: EyeMaterials

Material parameters of an eye for a wavelength of 632.8 nm, according to the Navarro model [1].

Attributes:
corneaMaterialModel

Refractive model of the cornea.

aqueousMaterialModel

Refractive model of the aqueous humour.

lensMaterialModel

Refractive model of the crystalline lens.

vitreousMaterialModel

Refractive model of the vitreous humour.

References

[1] (1,2)

Escudero-Sanz, I., & Navarro, R. (1999). Off-axis aberrations of a wide-angle schematic eye model. JOSA A, 16(8), 1881-1891. https://doi.org/10.1364/JOSAA.16.001881

class visisipy.models.materials.BennettRabbettsMaterials#

Bases: EyeMaterials

Material parameters of an eye, according to the Bennett-Rabbetts model [1].

Attributes:
corneaMaterialModel

Refractive model of the cornea.

aqueousMaterialModel

Refractive model of the aqueous humour.

lensMaterialModel

Refractive model of the crystalline lens.

vitreousMaterialModel

Refractive model of the vitreous humour.

References

[1] (1,2)

Bennett, A. G., & Rabbetts, R. B. (1990). Clinical visual optics (2nd ed.). Butterworth-Heinemann.

class visisipy.models.materials.GullstrandLeGrandUnaccommodatedMaterials#

Bases: EyeMaterials

Material parameters of an unaccommodated eye, according to the Gullstrand-LeGrand model [1].

See also

GullstrandLeGrandAccommodatedMaterials

Material parameters of the corresponding accommodated eye.

References

[1] (1,2)

Le Grand, Y., El Hage, S.G. (1980). Physiological Optics. Springer.

class visisipy.models.materials.GullstrandLeGrandAccommodatedMaterials#

Bases: GullstrandLeGrandUnaccommodatedMaterials

Material parameters of an accommodated eye, according to the Gullstrand-LeGrand model [1].

See also

GullstrandLeGrandUnaccommodatedMaterials

Material parameters of the corresponding unaccommodated eye.

References

[1] (1,2)

Le Grand, Y., El Hage, S.G. (1980). Physiological Optics. Springer.