AbstractRulingSpacing#
- class optika.rulings.AbstractRulingSpacing[source]#
Bases:
Printable,Transformable,ShapedAn interface describing the instantaneous ruling spacing on the surface of a diffraction grating.
This is useful if you want to define a grating with variable line spacing.
Attributes
The array shape of this object.
the coordinate transformation between the global coordinate system and this object's local coordinate system
Methods
__init__()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

- 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.
- abstract property transformation: None | AbstractTransformation#
the coordinate transformation between the global coordinate system and this object’s local coordinate system