rayoptics.optical.model_enums module
DEPRECATED: optical model enums
The enums in this module are deprecated in favor of strings conveying the same information. The functions in this module are used to convert enums into the corresponding strings.
- class DimensionType(value)[source]
Bases:
Enum
DEPRECATED: enum for different linear dimensions
- MM = 0
millimeters
- CM = 1
centimeters
- M = 2
meters
- IN = 3
inches
- FT = 4
feet
- class DecenterType(value)[source]
Bases:
Enum
DEPRECATED: enum for different tilt and decenter types
- LOCAL = 0
pos and orientation applied prior to surface
- REV = 1
pos and orientation applied following surface in reverse
- DAR = 2
pos and orientation applied prior to surface and then returned to initial frame
- BEND = 3
used for fold mirrors, orientation applied before and after surface