EvalAberration
Optical aberration evaluations to compute a list of Zernike coefficients for Zernike polynomials that correspond to various types of monochromatic aberration that arise when electromagnetic rays are focused by a system of lenses and mirrors. An Intersection Point 3D data set (see IntersectionPoint2D, IntersectionPoint3D) pointing to a Ray (Data Set) data set must be used.
Syntax
model.result().numerical().create(<ftag>,"EvalAberration");
model.result().numerical(<ftag>).set(property, <value>);
model.result().numerical(<ftag>).getReal();
model.result().numerical(<ftag>).getImag();
model.result().numerical(<ftag>).isComplex();
model.result().numerical(<ftag>).computeResult();
model.result().numerical(<ftag>).setResult();
model.result().numerical(<ftag>).appendResult();
Description
model.result().numerical().create(<ftag>,"EvalAberration") creates a optical aberration evaluation feature with the name <ftag>.
model.result().numerical(<ftag>).getReal() returns the real-valued Zernike coefficients. Data is ordered so that there is one row with length equal to the number of Zernike polynomials up to the specified order.
model.result().numerical(<ftag>).getImag(<allocate>, <columnwise>) always returns null because the Zernike coefficients are always real-valued.
model.result().numerical(<ftag>).isComplex() always returns false because the Zernike coefficients are real-valued.
model.result().numerical(<ftag>).computeResult() returns the matrix of data containing the real and imaginary parts of the Zernike coefficients; the latter is always null.
model.result().numerical(<ftag>).setResult() and model.result().numerical(<ftag>).appendResult() evaluate the feature and set or append the result in the table indicated by the table property.
The following properties are available:
none | data set name