OpticalAberration
Plot various types of monochromatic aberration that arise when electromagnetic rays are focused by a system of lenses and mirrors.
Syntax
model.result(<pgtag>).create(<ftag>,"OpticalAberration");
model.result(<pgtag>).feature(<ftag>).set(property, <value>);
model.result(<pgtag>).feature(<ftag>).run();
model.result(<pgtag>).feature(<ftag>).runCommand("createReferenceHemisphereDataset");
model.result(<pgtag>).feature(<ftag>).runCommand("recomputeReferenceHemisphereDataset");
Description
model.result(<pgtag>).create(<ftag>,"OpticalAberration") creates an optical aberration plot feature named <ftag> belonging to the plot group <pgtag>. The optical aberration plot is used to visualize various types of monochromatic aberration. Optical aberration plots can be added to 2D plot groups.
The following properties are available:
on | off
If on, activates an additional logical expression for including rays in the Zernike coefficient calculation.
custom | black | blue | cyan | gray | green | magenta | red | white | yellow
custom | black | blue | cyan | gray | green | magenta | red | white | yellow
colortable | uniform | gradient
on | off
Whether to show color legend, when coloring is set to colortable.
linear | linearsymmetric | logarithmic
The color table to use when coloring is set to colortable. See Color Tables for a list of color tables.
none | reverse | nonlinear | nonlinearsymmetric
Transformation of the color table, when coloring is set to colortable or gradient.
{1,0,0} or last used color.
The uniform color to use. Active when bottomcolor is set to custom.
{1,0,0} or last used color.
{1,0,0} or last used color.
The uniform color to use. Active when topcolor is set to custom.
none | parent | dataset name
on | off
If on, filter rays by release feature to determine which rays are included in the Zernike coefficient calculation.
Wavelength of rays to include if filterwavelengthactive is on.
on | off
If on, filter rays by wavelength to determine which rays are included in the Zernike coefficient calculation.
If inheritplot is not none: Determines if the color is inherited.
none | plot name
If inheritplot is not none: Determines if the color and data ranges are inherited.
2, 3, 4, or 5
on | off
Whether to reverse to color table or gradient when coloring is set to colortable or gradient and colortabletrans is set to nonlinear or nonlinearsymmetric.
directionbased | positionbased | userdefined
on | off
If on, activates the filtering of rays based on number of reflections.
all | higherorder | selectindividual
The title to use when titletype is manual.
auto | manual | none
auto, if the title contribution should be computed automatically, possibly using the group’s customization. manual, if the manual title contribution should be used (the title property). none, if no title contribution should be used.
custom | black | blue | cyan | gray | green | magenta | red | white | yellow
Include the z(0,0), piston term (if terms is set to selectindividual).
Include the z(1,-1), vertical tilt term (if terms is set to selectindividual).
Include the z(1,1), horizontal tilt term (if terms is set to selectindividual).
Include the z(2,-2), oblique astigmatism term (if terms is set to selectindividual).
Include the z(2,0), defocus term (if terms is set to selectindividual).
Include the z(2,2), astigmatism term (if terms is set to selectindividual).
Include the z(3,-3), oblique trefoil term (if terms is set to selectindividual).
Include the z(3,-1), vertical coma term (if terms is set to selectindividual).
Include the z(3,1), horizontal coma term (if terms is set to selectindividual).
Include the z(3,3), horizontal trefoil term (if terms is set to selectindividual).
Include the z(4,-4), oblique quatrefoil term (if terms is set to selectindividual).
Include the z(4,0), spherical aberration term (if terms is set to selectindividual).
Include the z(4,2), secondary astigmatism term (if terms is set to selectindividual).
Include the z(4,4), horizontal quatrefoil term (if terms is set to selectindividual).
Include the z(5,-5) term (if terms is set to selectindividual).
Include the z(5,-3) term (if terms is set to selectindividual).
Include the z(5,-1) term (if terms is set to selectindividual).
Include the z(5,1) term (if terms is set to selectindividual).
Include the z(5,3) term (if terms is set to selectindividual).
Include the z(5,5) term (if terms is set to selectindividual).
Attribute
Height, AberrationHeight, HistogramHeight, TableHeight; Transparency (if a height attribute is used)