⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 contents.m

📁 zemax与matlab调用程序
💻 M
📖 第 1 页 / 共 2 页
字号:
% ZEMAX DDE Server Toolbox
%
% ZEMAX DDE Server Toolbox Version 2
% Provides access to ZEMAX functionality from Matlab.
% NOTE : The ZEMAX DDE server maintains an independent copy of the lens from the Lens Data Editor (LDE).
%        See zPushLens and zGetRefresh for moving lens data between the DDE server and the LDE.
% For further details, see the chapter on "ZEMAX Extensions" in the ZEMAX manual.
%
% Before calling any functions that access the ZEMAX DDE server, it is necessary to initialise the DDE link
% using the zDDEInit function. Failure to do so will cause Matlab to issue a verbose yet completely
% uninformative error message.
%
%
%   This toolbox is free software; you can redistribute it and/or modify
%   it under the terms of the GNU General Public License as published by
%   the Free Software Foundation; either version 2 of the License, or
%   (at your option) any later version.
%
%   This toolbox is distributed in the hope that it will be useful,
%   but WITHOUT ANY WARRANTY; without even the implied warranty of
%   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
%   GNU General Public License (in the file COPYING) for more details.
%
% Report bugs and updates to dgriffith@csir.co.za
%
% List of Functions - Function names are case insensitive.
%   ACCOSin                 - ACCOS LENO format importer for ZEMAX.
%   BIMwrite                - Write ZEMAX format binary greyscale image.
%   Census                  - Provides a listing of all functions in this toolbox, along with current revisions.
%   deg2rad                 - Converts degrees to radians.
%   digitize                - A script to digitize data from an image of a graph. Author J. Cogdell. Not MZDDE. 
%   LSF                     - Diffraction-limited Monochromatic Line Spread Function.
%   PLSF                    - Diffraction-limited Polychromatic Line Spread Function.
%   MTF                     - Diffraction-limited Monochromatic Modulation Transfer Function.
%   PMTF                    - Diffraction-limited Polychromatic Modulation Transfer Function.
%   Planck                  - Planck black body function.
%   PlotZemaxOTF            - Plot a thru-frequency MTF/OTF as returned by ReadZemaxOTF or zGetMTF.
%   PSF                     - Diffraction-limited Monochromatic Point Spread Function.
%   PPSF                    - Diffraction-limited Polychromatic Point Spread Function.
%   PSF2D                   - 2D Image of the Diffraction-limited Polychromatic Point Spread Function.
%   rad2deg                 - Converts radians to degrees.
%   RayDevParPlate          - Computes lateral deviation of a ray passing through a plane parallel plate.
%   ReadCIE                 - Read CIE data into workspace variables (colour observers, daylight etc.)
%   ReadZemaxGImAnal        - Reads data from a ZEMAX Geometric Image Analysis text data file.
%   ReadZemaxIllum          - Reads data from a ZEMAX Uniformity of Illumination Analysis test file.
%   ReadZemaxOTF            - Reads data from a OTF/MTF text file from ZEMAX (thru-frequency, thru-focus or thru-field).
%   ReadZemaxRMS            - Reads data from a ZEMAX RMS Analysis - Spot Size, Wavefront or Strehl Ratio.
%   ReadZemaxVignet         - Reads data from a ZEMAX Vignetting Analysis text file.
%   ReadZemaxWaveMap        - Reads data from a Wave Map text data file generated by ZEMAX.
%   SpiralSpot              - Compute image plane trajectory of a ray scanned in a spiral over the pupil.
%   NarcWiz                 - A wizard for performing narcissus analysis on staring infrared cameras.
%   n_air                   - Refractive index of air over wavelength, temperature and pressure.
%   DoublePass              - Put a lens system into double pass.
%   genRayDataMode0         - Generate grid of ray data ready for zArrayTrace mode 0.
%   gridXYRayData           - Generate basic grid of ray data for zArrayTrace.
%   IntSphere               - Compute the spectral radiance of an integrating sphere given input spectral flux.
%   Onion                   - Split lens into layers for analysis of axial temperature gradients.
%   SagEvenAsphere          - Computes the sag of a standard ZEMAX even aspheric surface.
%   WriteZemaxWaveFile      - Write a list of wavelengths and weights in ZEMAX .wav file format.
%   zArrayTrace             - Performs tracing of large numbers of rays in ZEMAX.
%   zDDEBusy                - Checks to see if the ZEMAX DDE server is busy.
%   zDDEClose               - Close DDE communications channel to ZEMAX.
%   zDDEInit                - Open communications channel to ZEMAX DDE server.
%   zDDEStart               - Attempt zDDEInit. If no ZEMAX running, attempt to start ZEMAX.
%   zDeleteSurface          - Delete a lens surface.
%   zExportCAD              - Export lens CAD data (IGES, STEP, SAT) to a file.  
%   zExportCheck            - Check if lens CAD export has completed.
%   zFindLabel              - Find integer label attached to a lens surface using zSetLabel.
%   zFixSurfaceData         - Set lens surface data to 'fixed' mode.
%   zFixAllSurfaceData      - Set all lens surface data to 'fixed' mode.
%   zGetAddress             - Get address line in Preferences/Address.
%   zGetAspect              - Get the aspect ratio of ZEMAX graphics or print windows.
%   zGetBuffer              - Get DDE client specific data from a ZEMAX window being updated.
%   zGetCoatings            - Get a list of available coatings from the ZEMAX COATINGS.DAT file.
%   zGetConfig              - Get current lens configuration, number of configurations and configuration operands.
%   zGetDate                - Get current date from ZEMAX DDE server.
%   zGetExtra               - Get single extra data value from ZEMAX DDE server.
%   zGetField               - Get data on lens field points.
%   zGetFile                - Get the filename of the currently loaded lens.
%   zGetFirst               - Get first order data about the lens.
%   zGetGlass               - Get data on a glass at a particular lens surface.
%   zGetGlassCats           - Get a list of available text glass catalogues from the ZEMAX Glasscat directory.
%   zGetGlobalMatrix        - Get transformation matrix from local surface coordinates to global lens coordinates.
%   zGetIndex               - Get index of refraction data at a lens surface.
%   zGetLabel               - Retrieve integer label associated with a surface.
%   zGetMetaFile            - Create Windows Metafile of a ZEMAX graphic analysis window.
%   zuiGetMetaFile          - As for zGetMetaFile, but with Save As dialog box.
%   zGetMulticon            - Get data from the ZEMAX multi-configuration editor.
%   zGetMTF                 - Get MTF computation from ZEMAX for current lens. Returns as for ReadZemaxOTF function.
%   zGetName                - Get the name of the lens in ZEMAX.
%   zGetNSCData             - Get number of NSC objects.
%   zGetNSCObjectData       - Get data describing NSC objects in ZEMAX.
%   zGetNSCPosition         - Get position data for an NSC object in ZEMAX.
%   zGetNSCParameter        - Get numeric parameters associated with an NSC object in ZEMAX.
%   zGetNSCSettings         - Get ZEMAX settings affecting raytracing in non-sequential components.
%   zGetOperand             - Get data from the ZEMAX Merit Function editor.
%   zGetOperandMatrix       - Get the entire merit function matrix from the Merit Function Editor.
%   zGetPath                - Get the path for the ZEMAX installation directory and lens directory.
%   zGetPolState            - Get the default polarization state from ZEMAX.
%   zGetPupil               - Get data on the aperture stop and pupils.
%   zGetPolTrace            - Perform a full polarization raytrace through the ZEMAX lens.
%   zGetPolTraceDirect      - Direct access full polarization raytrace.
%   zGetRefresh             - Copies the lens in the Lens Data Editor (LDE) into the ZEMAX DDE server.
%   zGetSag                 - Get the sag at particular x and y coordinates on a lens surface.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -