ZOSAPI.Editors.LDE.ISTAR_StressFits Interface Reference
Last update: 17.07.2025Classes which implement this interface allow to manipulate stress fits. More...
Public Member Functions | |
| double[] | GetFittedStressTensor (double X, double Y, double Z) |
| Get the fitted stress tensor at a given position without performing any rotation. | |
| ISTAR_PointWithStress[] | ListFittedStressTensor (double[] xs, double[] ys, double[] zs) |
| Get the fitted stress tensor at a set of positions without performing any rotation. | |
| double[] | GetFittedRotatedStressTensor (double X, double Y, double Z, double L, double M, double N) |
| Get the fitted stress tensor at a given position and for a given propagation direction. | |
| double | GetFittedIndex (double X, double Y, double Z, double L, double M, double N) |
| void | ApplyStress () |
| void | RemoveStress () |
| void | Refit () |
| ISTAR_PointWithRetardance[] | GetRetardanceMap (int density, int coordinateOption, int field, double Jx, double Jy, double phix, double phiy) |
| Traces a set of rays with hexapolar pattern to the back of the lens and calculate the phase retardance in radians experienced by each ray. | |
| ISTAR_PointWithIndexAndRetardance[] | GetPointRetardanceList (int density, int coordinateOption, int field) |
| Traces a set of rays with hexapolar pattern to the back of the lens. Calculates the index and point retardance (in radians / mm) experienced by each ray at each point. Points will be along the ray path and spaced by GRINStep. | |
| double | GetRetardance (double X, double Y, double Z, double L, double M, double N, double Step) |
| Get the phase retardance (in radians) value at a given position and for a given propagation direction and step length. | |
Properties | |
| int | SurfaceNumber [get] |
| double | GRINStep [get, set] |
| ISTAR_FEAFitSettings | Settings [get] |
| ISTAR_FEAFitResults | FitResultsStressXX [get] |
| ISTAR_FEAFitResults | FitResultsStressYY [get] |
| ISTAR_FEAFitResults | FitResultsStressZZ [get] |
| ISTAR_FEAFitResults | FitResultsStressXY [get] |
| ISTAR_FEAFitResults | FitResultsStressYZ [get] |
| ISTAR_FEAFitResults | FitResultsStressXZ [get] |
Detailed Description
Classes which implement this interface allow to manipulate stress fits.
Member Function Documentation
◆ ApplyStress()
| void ZOSAPI.Editors.LDE.ISTAR_StressFits.ApplyStress | ( | ) |
◆ GetFittedIndex()
| double ZOSAPI.Editors.LDE.ISTAR_StressFits.GetFittedIndex | ( | double | X, |
| double | Y, | ||
| double | Z, | ||
| double | L, | ||
| double | M, | ||
| double | N | ||
| ) |
◆ GetFittedRotatedStressTensor()
| double[] ZOSAPI.Editors.LDE.ISTAR_StressFits.GetFittedRotatedStressTensor | ( | double | X, |
| double | Y, | ||
| double | Z, | ||
| double | L, | ||
| double | M, | ||
| double | N | ||
| ) |
Get the fitted stress tensor at a given position and for a given propagation direction.
- Parameters
-
X In local coordinates and lens units. Y In local coordinates and lens units. Z In local coordinates and lens units. L X direction cosine. M Y direction cosine. N Z direction cosine.
- Returns
- The stress tensor expressed in Voigt notation: [Sx, Sy, Sz, Sxy, Syz, Sxz].
◆ GetFittedStressTensor()
| double[] ZOSAPI.Editors.LDE.ISTAR_StressFits.GetFittedStressTensor | ( | double | X, |
| double | Y, | ||
| double | Z | ||
| ) |
Get the fitted stress tensor at a given position without performing any rotation.
- Parameters
-
X In local coordinates and lens units. Y In local coordinates and lens units. Z In local coordinates and lens units.
- Returns
- The stress tensor expressed in Voigt notation: [Sx, Sy, Sz, Sxy, Syz, Sxz].
◆ GetPointRetardanceList()
| ISTAR_PointWithIndexAndRetardance[] ZOSAPI.Editors.LDE.ISTAR_StressFits.GetPointRetardanceList | ( | int | density, |
| int | coordinateOption, | ||
| int | field | ||
| ) |
Traces a set of rays with hexapolar pattern to the back of the lens. Calculates the index and point retardance (in radians / mm) experienced by each ray at each point. Points will be along the ray path and spaced by GRINStep.
The OPD retardance in nm/mm can be calculated by dividing the phase retardance by 2pi and multiplying by the wavelength in nm.
- Parameters
-
density Density parameter used to generate the hexapolar pattern. coordinateOption 1 to return positions in global coordinates. Otherwise positions are returned in local coordinates. field Which field is used to generated the rays to be traced.
- Returns
- Each entry represents a point along the ray path of one of the traced rays and provides its position, refractive index, and point retardance in radians / mm.
◆ GetRetardance()
| double ZOSAPI.Editors.LDE.ISTAR_StressFits.GetRetardance | ( | double | X, |
| double | Y, | ||
| double | Z, | ||
| double | L, | ||
| double | M, | ||
| double | N, | ||
| double | Step | ||
| ) |
Get the phase retardance (in radians) value at a given position and for a given propagation direction and step length.
The OPD retardance in nm can be calculated by dividing the phase retardance by 2pi and multiplying by the wavelength in nm.
- Parameters
-
X In local coordinates and lens units. Y In local coordinates and lens units. Z In local coordinates and lens units. L X direction cosine. M Y direction cosine. N Z direction cosine. Step Step length in Lens Units.
- Returns
- The maximum phase retardance in radians induced by stress birefringence.
◆ GetRetardanceMap()
| ISTAR_PointWithRetardance[] ZOSAPI.Editors.LDE.ISTAR_StressFits.GetRetardanceMap | ( | int | density, |
| int | coordinateOption, | ||
| int | field, | ||
| double | Jx, | ||
| double | Jy, | ||
| double | phix, | ||
| double | phiy | ||
| ) |
Traces a set of rays with hexapolar pattern to the back of the lens and calculate the phase retardance in radians experienced by each ray.
The OPD retardance in nm can be calculated by dividing the phase retardance by 2pi and multiplying by the wavelength in nm.
- Parameters
-
density Density parameter used to generate the hexapolar pattern. coordinateOption 1 to return positions in global coordinates. Otherwise positions are returned in local coordinates. field Which field is used to generated the rays to be traced. Jx X component of the Jones electric field. Jy Y component of the Jones electric field. phix Phase of the X component of the Jones electric field in degrees. phiy Phase of the Y component of the Jones electric field in degrees.
- Returns
- Each entry represents a ray reaching the back of the lens and contains its position and phase retardance in radians between the X and Y components of the associated electric field.
◆ ListFittedStressTensor()
| ISTAR_PointWithStress[] ZOSAPI.Editors.LDE.ISTAR_StressFits.ListFittedStressTensor | ( | double[] | xs, |
| double[] | ys, | ||
| double[] | zs | ||
| ) |
Get the fitted stress tensor at a set of positions without performing any rotation.
- Parameters
-
xs In local coordinates and lens units. ys In local coordinates and lens units. zs In local coordinates and lens units.
- Returns
- An array of stress tensors expressed in Voigt notation: [Sx, Sy, Sz, Sxy, Syz, Sxz].
◆ Refit()
| void ZOSAPI.Editors.LDE.ISTAR_StressFits.Refit | ( | ) |
◆ RemoveStress()
| void ZOSAPI.Editors.LDE.ISTAR_StressFits.RemoveStress | ( | ) |
Property Documentation
◆ FitResultsStressXX
|
get |
◆ FitResultsStressXY
|
get |
◆ FitResultsStressXZ
|
get |
◆ FitResultsStressYY
|
get |
◆ FitResultsStressYZ
|
get |
◆ FitResultsStressZZ
|
get |
◆ GRINStep
|
getset |
◆ Settings
|
get |
◆ SurfaceNumber
|
get |