visisipy.models.materials#
Optical properties of materials used in eye models.
Classes#
Optical properties of a material. |
|
Material parameters of the elements of an eye. |
|
Material parameters of an eye, according to the Navarro model [1]. |
|
Material parameters of an eye for a wavelength of 458 nm, according to the Navarro model [1]. |
|
Material parameters of an eye for a wavelength of 543 nm, according to the Navarro model [1]. |
|
Material parameters of an eye for a wavelength of 589.3 nm, according to the Navarro model [1]. |
|
Material parameters of an eye for a wavelength of 632.8 nm, according to the Navarro model [1]. |
|
Material parameters of an eye, according to the Bennett-Rabbetts model [1]. |
|
Material parameters of an unaccommodated eye, according to the Gullstrand-LeGrand model [1]. |
|
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 indatadoes not correspond to a known materials class.
Bases:
EyeMaterialsMaterial 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
Bases:
EyeMaterialsMaterial 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
Bases:
EyeMaterialsMaterial 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
Bases:
EyeMaterialsMaterial 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
Bases:
EyeMaterialsMaterial 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:
EyeMaterialsMaterial 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
- class visisipy.models.materials.GullstrandLeGrandUnaccommodatedMaterials#
Bases:
EyeMaterialsMaterial parameters of an unaccommodated eye, according to the Gullstrand-LeGrand model [1].
See also
GullstrandLeGrandAccommodatedMaterialsMaterial parameters of the corresponding accommodated eye.
References
- class visisipy.models.materials.GullstrandLeGrandAccommodatedMaterials#
Bases:
GullstrandLeGrandUnaccommodatedMaterialsMaterial parameters of an accommodated eye, according to the Gullstrand-LeGrand model [1].
See also
GullstrandLeGrandUnaccommodatedMaterialsMaterial parameters of the corresponding unaccommodated eye.
References