![]() ![]() In OpticStudio, there are 2 main methods for analyzing the PSF: FFT or Huygens. In general, the FFT is always faster and the Huygens is always more accurate (Huygens calculates the integral of the wavefront at the image plane while FFT provides an approximation via Fourier transform in the pupil plane). Both are extremely useful but OpticStudio only provides the PSF at the plane of focus.the software doesn't allow for a through-focus PSF plot. `image x y z`: last surface in LDE detector location `comment x y z` or `x y z`: adds a flat mirror at XYZ location `stop`: indicates the size of the aperture stop `!`: indicates a comment line and will be skipped To use the macro, you simply need to provide a TXT file with the following inputs: If you can define the initial XYZ positions of your mirrors, then the macro below will position and orient the mirrors so that rays will make it from the first surface to the image surface. When starting with a new 3D design, you will often convert a sketch to surfaces in the LDE. This can allow a user to easily specify the position of multiple elements with respect to the global coordinate system. Using Coordinate Returns (a specialized Coordinate Break which can return the XYZ position and LMN orientation of the local coordinate system to that of a previous surface) can help complex off-axis designs by allowing a user to "globally" position a single element or a group of elements. A saved file called "modified" is automatically saved so you can verify the difference of Hy=0 & Hy=1.Ĭoordinate Breaks in OpticStudio sequential mode are very powerful but often confusing to setup correctly. Hx specifies the element number, Hy=0 does not "undo" the modification and Hy=1 "undoes" the modification. ![]() ![]() The attached ZAR file has a ZPLM macro which calculates the "in-air" EFL. Otherwise, subsequent MFE operands will operate on the modified system.įor example, if you have a cemented triplet, but you want to optimize the in-air focal length of each individual element (from the Analyze > Reports > Surface Data), you can create a ZPL, save the material BEFORE and AFTER the lens to temporary string variables, change both materials to AIR, calculate the EFL of the lens, return this value, and then restore the materials. However, if a user creates a ZPLM and modifies the LDE, such as changing the material of a specific surface, then the user needs to undo the modification inside the macro. If any built-in operand needs to internally modify the system for a specific calculation, then the operand will also "undo" the modification. When updating the Merit Function, OpticStudio makes a temporary copy of the current lens, evaluates the MF against the copy, reports the value and then disposes of the copy. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |