POP

Computes the Physical Optics Propagation (POP) of a beam through the optical system and saves the surface by surface results to ZBF files. For a description of the POP feature see " Physical Optics Propagation ". For information on the ZBF file format, see " Zemax Beam File (ZBF) binary format ".

Syntax:

POP outfilename, lastsurface, settingsfilename
 

Discussion:

This keyword requires the name of the output ZBF file, an expression that evaluates to the last surface to propagate to, and optionally the name of a settings file. The filename must be enclosed in quotes if any blank or other special characters are used. The created ZBF files will be placed in the <pop> folder. No paths should be provided with the file names.

The settings for the POP feature will be those settings previously saved for the current lens, unless a settings file name is provided. The settings file name must include the full path, name, and extension. To make adjustments to the settings, open a POP window, choose the appropriate settings, then press "Save". By default, all subsequent calls to POP within ZPL will use the saved settings. The exceptions are the output file name, which is specified as the first argument after the POP keyword, and the last surface number, which is optionally specified as the second argument after the POP keyword.

Example:

POP "pop_output.ZBF", 12, "MyPOP.CFG"

Next: