Coming from OpticStudio or CODE V#
A term-by-term map for designers who know OpticStudio (Zemax) or CODE V. Each row
gives the name of the same thing in each tool. In the Optiland column, lens is an
Optic.
An empty cell means there is no direct equivalent, or none that could be checked.
Matching names do not promise matching numbers. Units, sign conventions and default ray sampling can differ between tools. Validation lists the differences found so far.
To bring a whole design across, see File formats.
System setup#
OpticStudio |
CODE V |
Optiland |
|---|---|---|
Aperture type: Entrance Pupil Diameter |
|
|
Aperture type: Image Space F/# |
|
|
Aperture type: Object Space NA |
|
|
Aperture type: Float By Stop Size |
|
|
Field type: Angle |
Object angle ( |
|
Field type: Object Height |
Object height ( |
|
Field type: Paraxial Image Height |
Paraxial image height ( |
|
Field type: Real Image Height |
Real image height ( |
|
Vignetting factors VCX, VCY |
|
|
Wavelengths, primary wavelength and weights |
|
|
Ray Aiming |
|
Surfaces#
Pass the Optiland name as surface_type to lens.surfaces.add().
OpticStudio |
CODE V |
Optiland |
|---|---|---|
Standard |
Sphere, Conic ( |
|
Even Asphere |
Asphere ( |
|
Odd Asphere |
|
|
Toroidal |
|
|
Biconic |
|
|
Zernike Standard Sag |
|
|
Zernike Fringe Sag |
|
|
Chebyshev Polynomial |
|
|
Q-Type Asphere |
|
|
Q-Type Freeform |
|
|
Grid Sag |
|
|
Paraxial |
|
|
Coordinate Break |
Decenter and tilt ( |
|
Diffraction Grating |
|
|
Binary 2 |
|
Solves and pickups#
OpticStudio |
CODE V |
Optiland |
|---|---|---|
Thickness solve: Marginal Ray Height |
|
|
Thickness solve: Chief Ray Height |
|
|
Curvature solve: Marginal Ray Angle |
|
|
Curvature solve: Chief Ray Angle |
|
|
Quick Focus |
|
|
Pickup |
Pickup |
|
Optimization operands#
Operands go into an OptimizationProblem with
problem.add_operand(operand_type=..., target=..., weight=..., input_data=...).
Give min_val or max_val instead of target for a bound. The Optiland
names below are the keys of the operand registry
(optiland.optimization.operand.operand_registry).
OpticStudio |
CODE V |
Optiland |
|---|---|---|
EFFL |
EFL (specific constraint) |
|
PMAG |
|
|
ENPP |
|
|
EPDI |
|
|
EXPP |
|
|
EXPD |
|
|
TOTR |
|
|
ISFN |
||
WFNO |
||
TTHI |
|
|
CTVA, CTGT, CTLT |
Minimum and maximum center thickness (general constraints) |
|
ETVA, ETGT, ETLT |
Minimum edge thickness (general constraints) |
|
REAX, REAY, REAZ |
|
|
RAGX, RAGY, RAGZ |
|
|
REAR |
||
TRAC |
||
RAID |
|
|
RSCE |
|
|
RWCE |
||
SPHA, COMA, ASTI, FCUR, DIST |
|
|
DIMX |
||
MTFT, MTFS |
||
ZERN |
Optiland operands with no row above: "f1", "f2_range", "F1", "F2",
"P1", "P2", "N1", "N2", "real_L", "real_M", "real_N",
"clearance", "OPD_difference", and the per-surface third-order terms
"TSC", "SC", "CC", "TCC", "TAC", "AC", "TPC", "PC",
"DC", "TAchC", "LchC", "TchC" with their _sum forms.
Analyses#
OpticStudio |
CODE V |
Optiland |
|---|---|---|
Spot Diagram |
Spot Diagram |
|
Ray Fan |
Ray Aberration Curves |
|
OPD Fan |
OPD Aberration Curves |
|
Field Curvature and Distortion |
||
Grid Distortion |
||
Relative Illumination |
||
FFT MTF |
MTF (diffraction) |
|
Huygens MTF |
||
Geometric MTF |
MTF (geometrical) |
|
MTF vs. Field |
||
Through Focus MTF |
||
FFT PSF |
Point Spread Function |
|
Huygens PSF |
||
Geometric Encircled Energy |
||
Wavefront Map |
Pupil Map |
|
RMS vs. Field |
Wavefront Analysis (RMS wavefront error) |
|
Zernike Standard Coefficients |
|
|
Zernike Fringe Coefficients |
|
|
Seidel Coefficients, Seidel Diagram |
Third Order Aberrations |
|
Longitudinal Aberration |
||
Lateral Color |
||
Chromatic Focal Shift |
||
Footprint Diagram |
||
Prescription Data |
List Lens Data |
|
Tolerancing#
OpticStudio |
CODE V |
Optiland |
|---|---|---|
Tolerance Data Editor |
|
|
Compensators |
|
|
Sensitivity |
||
Monte Carlo |
File formats#
OpticStudio |
CODE V |
Optiland |
|---|---|---|
|
|
|
|
|
Optiland also reads and writes OSLO .len files (load_oslo_file(),
save_oslo_file(), see OSLO import compatibility), and saves
any system as JSON with save_optiland_file() and
load_optiland_file(). All of these are imported from
optiland.fileio.