Mesh#
- class optika.materials.meshes.Mesh(chemical, efficiency, pitch)[source]#
Bases:
AbstractMeshAn explicit description of a mesh designed to support a thin-film filter.
Attributes
The chemical formula of the mesh material.
The fraction of light that is not blocked by the mesh.
The density of the mesh in lines per inch or equivalent.
The array shape of this object.
Methods
__init__(chemical, efficiency, pitch)to_string([prefix])Public-facing version of the
__repr__method that allows for defining a prefix string, which can be used to calculate how much whitespace to add to the beginning of each line of the result.Inheritance Diagram

- Parameters:
chemical (str | AbstractChemical)
efficiency (float | AbstractScalar)
pitch (Quantity | AbstractScalar)
- to_string(prefix=None)#
Public-facing version of the
__repr__method that allows for defining a prefix string, which can be used to calculate how much whitespace to add to the beginning of each line of the result.
- chemical: str | AbstractChemical = <dataclasses._MISSING_TYPE object>#
The chemical formula of the mesh material.
- efficiency: float | AbstractScalar = <dataclasses._MISSING_TYPE object>#
The fraction of light that is not blocked by the mesh.
- pitch: Quantity | AbstractScalar = <dataclasses._MISSING_TYPE object>#
The density of the mesh in lines per inch or equivalent.