Skip to main content

ZOS-API interface 2025 R1

ZOSAPI.Editors.LDE.ISTAR_StressFits Interface Reference

Last update: 17.07.2025

Classes 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
XIn local coordinates and lens units.
YIn local coordinates and lens units.
ZIn local coordinates and lens units.
LX direction cosine.
MY direction cosine.
NZ 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
XIn local coordinates and lens units.
YIn local coordinates and lens units.
ZIn 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
densityDensity parameter used to generate the hexapolar pattern.
coordinateOption1 to return positions in global coordinates. Otherwise positions are returned in local coordinates.
fieldWhich 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
XIn local coordinates and lens units.
YIn local coordinates and lens units.
ZIn local coordinates and lens units.
LX direction cosine.
MY direction cosine.
NZ direction cosine.
StepStep 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
densityDensity parameter used to generate the hexapolar pattern.
coordinateOption1 to return positions in global coordinates. Otherwise positions are returned in local coordinates.
fieldWhich field is used to generated the rays to be traced.
JxX component of the Jones electric field.
JyY component of the Jones electric field.
phixPhase of the X component of the Jones electric field in degrees.
phiyPhase 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
xsIn local coordinates and lens units.
ysIn local coordinates and lens units.
zsIn 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

ISTAR_FEAFitResults ZOSAPI.Editors.LDE.ISTAR_StressFits.FitResultsStressXX
get

◆ FitResultsStressXY

ISTAR_FEAFitResults ZOSAPI.Editors.LDE.ISTAR_StressFits.FitResultsStressXY
get

◆ FitResultsStressXZ

ISTAR_FEAFitResults ZOSAPI.Editors.LDE.ISTAR_StressFits.FitResultsStressXZ
get

◆ FitResultsStressYY

ISTAR_FEAFitResults ZOSAPI.Editors.LDE.ISTAR_StressFits.FitResultsStressYY
get

◆ FitResultsStressYZ

ISTAR_FEAFitResults ZOSAPI.Editors.LDE.ISTAR_StressFits.FitResultsStressYZ
get

◆ FitResultsStressZZ

ISTAR_FEAFitResults ZOSAPI.Editors.LDE.ISTAR_StressFits.FitResultsStressZZ
get

◆ GRINStep

double ZOSAPI.Editors.LDE.ISTAR_StressFits.GRINStep
getset

◆ Settings

ISTAR_FEAFitSettings ZOSAPI.Editors.LDE.ISTAR_StressFits.Settings
get

◆ SurfaceNumber

int ZOSAPI.Editors.LDE.ISTAR_StressFits.SurfaceNumber
get

Connect with Ansys