📄 mzdde function reference.html
字号:
zmxRMS = ReadZemaxRMS(Filename) Reads text written from a Zemax RMS Wavefront, Spot size or Strehl Ratio Analysis. The text can be written from an RMS analysis window, or generated using the <a href = "#zGetTextFile">zGetTextFile</a> with the 'Rmf', 'Rms', or 'Rmw' codes (see help <a href = "#ZemaxButtons">ZemaxButtons</a>) The results are returned in a struct in which the following fields are defined : datatype: Type of data in the data field e.g. 'RMS Wave Error vs. Focus' file: Name of the ZEMAX file from which the data was computed e.g. 'C:\Projects\MSMI\Concepts\baf(960)mak.ZMX' title: Title of the ZEMAX file from which the data was computed e.g. 'mak U.S.Patent 2701983 Variant a' date: Date on which the data was computed e.g. 'THU NOV 6 2003' ylab: Data plotted on the y-axis xlab: Data plotted on the x-axis ref: Reference for the data - either Centroid or Chief Ray yunits: Units for the y-axis xunits: Units for the x-axis Additional fields are dependent on what data is present. For ylab == 'Field' (ie an RMS vs. Field datatype) orient: The orientation of the data vector, +y, -y, +x or -x waves: The wavelengths at which the values (yunits) have been computed. One column per wavelength. poly: Set to 1 if the polychromatic data appear. If so, found in first data column. fields: The field values for the data in units given by xunits. data: The RMS or strehl data, one column for polychromatic data (if poly=1) and one per wavelength. For ylab == 'Focus' (ie an RMS vs. Focus datatype) focus: The focus positions in xunits for which the data is computed. data: The RMS or strehl data, one column for each field position, one row for each focus position. For ylab == 'Wavelength' (ie an RMS vs. Wavelength datatype) waves: The wavelengths in yunits at which the data have been computed. data: The RMS or strehl data, one column per field position, one row per wavlength. See also <a href = "#zGetTextFile">zGetTextFile</a></PRE></P><P><A name = "ReadZemaxVignet"><H2>ReadZemaxVignet</H2></A><PRE> zmxVignet = ReadZemaxVignet(File) Reads text written from a Zemax Vignetting (Vig) analysis. The text can be written from the Vignetting window, or generated using <a href = "#zGetTextFile">zGetTextFile</a> with the 'Vig' code (see help <a href = "#ZemaxButtons">ZemaxButtons</a>) The results are returned in a struct in which the following fields are defined : datatype: Type of data in e.g. 'Vignetting Data' file: Name of the ZEMAX file from which the data was computed e.g. 'C:\Projects\MSMI\Concepts\baf(960)mak.ZMX' title: Title of the ZEMAX file from which the data was computed e.g. 'mak U.S.Patent 2701983 Variant a' date: Date on which the data was computed e.g. 'THU NOV 6 2003' fieldunits: The units of the field position data (e.g. millimetres or degrees) field: The field position data in fieldunits. vig: The vignetting data. See also <a href = "#zGetTextFile">zGetTextFile</a></PRE></P><P><A name = "ReadZemaxWaveMap"><H2>ReadZemaxWaveMap</H2></A><PRE> zmxWaveMap = ReadZemaxWaveMap(File) Reads text written from a Zemax Wavefront Map (Wfm) analysis. The text can be written from the Wavefront Map window, or generated using the <a href = "#zGetTextFile">zGetTextFile</a> with the 'Wfm' code (see help <a href = "#ZemaxButtons">ZemaxButtons</a>) The results are returned in a struct in which the following fields are defined : datatype: Type of data in the data field e.g. 'Listing of Wavefront Map Data' file: Name of the ZEMAX file from which the data was computed e.g. 'C:\Projects\MSMI\Concepts\baf(960)mak.ZMX' title: Title of the ZEMAX file from which the data was computed e.g. 'mak U.S.Patent 2701983 Variant a' date: Date on which the data was computed e.g. 'THU NOV 6 2003' wav: Wavelength of the computation field: Field Position of computation funit: Field position units e.g. 'mm' or 'deg'. pv: Peak to valley error of the wavefront as reported by ZEMAX grid: Size of the data grid e.g. [64 64] center: Location of the centre point of the data e.g. [33 33] data: The wavefront map data. The size of this matrix is given by grid. See also <a href = "#zGetTextFile">zGetTextFile</a></PRE></P><P><A name = "ReverseSurfaces"><H2>ReverseSurfaces</H2></A><PRE> <a href = "#ReverseSurfaces">ReverseSurfaces</a> - Reverses a series of surfaces in a lens. Usage : Reply = ReverseSurfaces(FirstSurface, LastSurface) The surfaces FirstSurface to LastSurface are reversed. This function is performed by first putting these surfaces into double pass using the <a href = "#DoublePass">DoublePass</a> function, and then deleting the old surfaces. This approach has major limitations, including (but not limited to) the limitations of the <a href = "#DoublePass">DoublePass</a> routine. In particular, all pickups, variables and solves are lost for the reversed surfaces. See also : <a href = "#DoublePass">DoublePass</a> </PRE></P><P><A name = "SagEvenAsphere"><H2>SagEvenAsphere</H2></A><PRE> <a href = "#SagEvenAsphere">SagEvenAsphere</a> - Computes the profile of a ZEMAX standard even aspheric surface. Usage : Sag = SagEvenAsphere(ProfileData, r) The Profile data consists of a vector having the paraxial radius of curvature, the conic constant and a series of coefficients for the even power of the radial distance. The sag of the surface is computed at the distances r from the axis. </PRE></P><P><A name = "SpiralSpot"><H2>SpiralSpot</H2></A><PRE> <a href = "#SpiralSpot">SpiralSpot</a> - Produces a series of x, y values of rays traced in a spiral over the entrance pupil Usage : [x, y] = SpiralSpot(ObjectHeighty, ObjectHeightx, Wave, Spirals, Rays) plot(x,y) Where the x and y data is the ray landing data at the image surface in lens units. ObjectHeighty is the fractional object height in y from which the rays are traced. ObjectHeightx is the fractional object height in y from which the rays are traced. Wave is the wavelength number to use. Spirals is the number of spirals to execute. Rays is the number of rays to trace, and therefore the number of x,y pairs as well.</PRE></P><P><A name = "WriteZemaxWaveFile"><H2>WriteZemaxWaveFile</H2></A><PRE> <a href = "#WriteZemaxWaveFile">WriteZemaxWaveFile</a> - Writes a list of wavelengths formatted for ZEMAX Usage : WriteZemaxWaveFile(File, WaveMatrix, Primary) File is the file to write. WaveMatrix is a matrix of wavelengths and weights (one each per row). Primary is the primary wavelength number. </PRE></P><P><A name = "ZEMAXBusy"><H2>ZEMAXBusy</H2></A><PRE> ZEMAXBUSY M-file for <a href = "#ZEMAXBusy">ZEMAXBusy</a>.fig ZEMAXBUSY, by itself, creates a new ZEMAXBUSY or raises the existing singleton*. H = ZEMAXBUSY returns the handle to a new ZEMAXBUSY or the handle to the existing singleton*. ZEMAXBUSY('CALLBACK',hObject,eventData,handles,...) calls the local function named CALLBACK in ZEMAXBUSY.M with the given input arguments. ZEMAXBUSY('Property','Value',...) creates a new ZEMAXBUSY or raises the existing singleton*. Starting from the left, property value pairs are applied to the GUI before ZEMAXBusy_OpeningFunction gets called. An unrecognized property name or invalid value makes property application stop. All inputs are passed to ZEMAXBusy_OpeningFcn via varargin. *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one instance to run (singleton)". See also: GUIDE, GUIDATA, GUIHANDLES</PRE></P><P><A name = "ZemaxButtons"><H2>ZemaxButtons</H2></A><PRE> ZEMAX 3-Letter Analysis/Action Window Codes (ZEMAX Version September 19, 2002) These codes are case-sensitive. Off: None Mfl: Merit Function List ABg: ABg Data Catalog Mfo: Make Focal Bfv: Beam File Viewer Mgm: Geometric <a href = "#MTF">MTF</a> Map Caa: Coating, Abs. vs. Angle Mtf: Modulation TF Car: Cardinal Points Mth: <a href = "#MTF">MTF</a> vs. Field Cas: Coat All Surfaces NCE: Non-Sequential Editor Caw: Coating, Abs. vs. Wavelength New: New File Cca: Convert to Circular Apertures Nxc: Next Configuration Cda: Coating, Dia. vs. Angle Off: Huygens Through Focus <a href = "#MTF">MTF</a> Cdw: Coating, DIa. vs. Angle Opd: Opd Fan Cfa: Convert to Floating Apertures Ope: Open File Cfs: Chromatic Focal Shift Opt: Optimization Cls: Coating List Pab: Pupil Aberration Fan Cna: Coating, Ret. vs. Angle Pcs: <a href = "#PSF">PSF</a> Cross Section Cng: Convert to NSC Group Per: Performance Test Cnw: Coating, Ret. vs. Wavelength Pha: Pol. Phase Aberration Cpa: Coating, Phase vs. Angle Pmp: Pol. Pupil Map Cpw: Coating, Phase vs. Wavelength Pol: Pol. Ray Trace Cra: Coating, Refl vs. Angle Pop: Physical Optics Propagation Crw: Coating, Refl. vs. Wavelength Pre: Prescription Data Cta: Coating, Tran. vs. Angle Prf: Preferences Ctw: Coating, Tran. vs. Wavelength Ptf: Pol. Transmission Fan Dcl: Detector Control Qfo: Quick Focus Dim: Diffraction Image Analysis Raa: Remove All Apertures Dip: Biocular Dipvergence/Converge Ray: Ray Fan Dis: Dispersion Plot Rcf: Reload Coating File Dvi: Detector Viewer Rdb: Ray Database EDE: Extra Data Editor Red: Redo Ect: Edit Coating Rel: Relative Illumination Ele: ZEMAX Element Drawing Rev: Reverse Elements Enc: Diff Encircled Energy Rg4: New Report Graphic 4 Ext: Exit Rg6: New Report Graphic 6 Fcd: Field Curv/Distorion Rmf: RMS vs. Focus Fcl: Fiber Coupling Rml: Refresh Macro List Fie: Field Data Rms: RMS vs. Field Fld: Add Fold Mirror Rmw: RMS vs. Wavelength Flx: Delete Fold Mirror Rtr: Ray Trace Foa: Foucault Analysis Rva: Remove Variables Foo: Footprint Analysis Rxl: Refresh Extensions List Fov: Biocular Field of View Analys Sag: Sag Table Fps: FFT <a href = "#PSF">PSF</a> Sas: Save As Gbp: Parax Gaussian Beam Sav: Save File Gbs: Skew Gaussian Beam Sca: Scale Lens Gen: General Lens Data Sei: Seidel Coefficients Geo: Geom Encircled Energy Sff: Full Field Spot Gho: Ghost Focus Sld: Slider Gla: Glass Catalog Sma: Spot Matrix Glb: Global Optimization Smc: Spot Matrix Config Gmp: Glass Map Smf: Surface <a href = "#MTF">MTF</a> Gpr: Gradium Profile Spt: Spot Diagram Grd: Grid Distortion Srp: Surface Phase Gst: Glass Substitution Template Srs: Surface Sag Gtf: Geometric <a href = "#MTF">MTF</a> Ssg: System Summary Graphic Gvf: Geometric <a href = "#MTF">MTF</a> vs. Field Stf: Though Focus Spot Ham: Hammer Optimization Sur: Surface Data
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -