📄 mzdde function reference.html
字号:
PMTF(Wavelengths, Wavelength_Weights, Focal_Ratio, Spatial_Frequencies) Computes the polychromatic diffraction-limited <a href = "#MTF">MTF</a> for the given wavelengths summed with the given weights.</PRE></P><P><A name = "PPSF"><H2>PPSF</H2></A><PRE> PPSF(Wavelengths, Wavelength_Weights, Focal_Ratio, Radial_Image_Coordinates, Central_Obscuration_Ratio) Computes the polychromatic Diffraction Point Spread Function for a number of wavelengths, weights and radial image coordinates. The radial image coordinate will be in the same length units as that used for the wavelength. The focal ratio is the ratio of the focal length to the lens diameter. The central obscuration ratio is the ratio of the diameter of the central obscuration to the total clear diameter. A matrix is returned with the results corresponding to varying radial image coordinate along the columns, and the results corresponding to varying wavelength along the rows.</PRE></P><P><A name = "PSF"><H2>PSF</H2></A><PRE> PSF(Wavelengths, Focal_Ratio, Radial_Image_Coordinates, Central_Obscuration_Ratio) Computes the monochromatic Diffraction Point Spread Function for a number of wavelengths and radial image coordinates. The radial image coordinate will be in the same length units as that used for the wavelength. The focal ratio is the ratio of the focal length to the lens diameter. The central obscuration ratio is the ratio of the diameter of the central obscuration to the total clear diameter. A matrix is returned with the results corresponding to varying radial image coordinate along the columns, and the results corresponding to varying wavelength along the rows.</PRE></P><P><A name = "PSF2D"><H2>PSF2D</H2></A><PRE> PSF2D(Wavelengths, Wavelength_Weights, Focal_Ratio, Number_of_X_Pixels, Number_of_Y_Pixels, Pixel_Pitch, Central_Obscuration_Ratio) Computes a normalised 2-dimensional image of the polychromatic diffraction-limited point spread function. The number of pixels in x and y can be specified, along with the pixel pitch. A central obscuration can be specified with the ratio of the obscuration diameter to the total diameter. The x and y pixel counts should be even. </PRE></P><P><A name = "Planck"><H2>Planck</H2></A><PRE> Planck(Wavelength, Temperature) Returns spectral radiance of a Black Body in watts per square centimetre per micron of spectral bandwidth Parameters are wavelength and temperature Wavelength is in microns Temperature is in Kelvins (Celsius + 273) Both wavelength and temperature can be vectors. Returns a matrix with wavelength varying from row to row and T varying from column to column </PRE></P><P><A name = "PlotZemaxOTF"><H2>PlotZemaxOTF</H2></A><PRE> PlotZemaxOTF(zmxOTF) Expects a structure according to the format returned by <a href = "#ReadZemaxOTF">ReadZemaxOTF</a> or <a href = "#zGetMTF">zGetMTF</a>. Plots the thru-frequency OTF/MTF data.</PRE></P><P><A name = "RayDevParPlate"><H2>RayDevParPlate</H2></A><PRE> <a href = "#RayDevParPlate">RayDevParPlate</a> - Calculates lateral deviation of a ray passing through a plane parallel plate. Usage : d = RayDevParPlate(MediumRefractiveIndex, PlateRefractiveIndex, AngleOfIncidence, PlateThickness) where MediumRefractiveIndex is the refractive index of the medium surrounding the plate, PlateRefractiveIndex is the refractive index of the plate, AngleOfIncidence is the angle of incidence of the ray striking the plate (in radians) and PlateThickness is the thickness of the plate in any linear units. The returned value is in the same units as the plate thickness.</PRE></P><P><A name = "ReadCIE"><H2>ReadCIE</H2></A><PRE> Read CIE Data into Workspace variables The following data files are read. You can load these workspace variables also using load('CIE.mat'); CIEsia.txt CIE 15.2-1986 Table 1.1 Part 1: CIE Standard Illuminant A relative spectral power distribution 300 nm - 830 nm at 5 nm intervals (CIEsLambda) CIEsid65.txt CIE 15.2-1986 Table 1.1 Part 2: CIE Standard Illuminant D65 relative spectral power distribution 300 nm - 830 nm at 5 nm intervals (CIEsLambda) CIEs0.txt CIE 15.2-1986 Table 1.2 Part 1. Component S0 of daylight used in the calculation of relative spectral power distribution of daylight illuminants of different correlated colour temperatures, for wavelength 300 to 830 nm at 5 nm intervals (CIEsLambda) CIEs1.txt CIE 15.2-1986 Table 1.2 Part 2. Component S1 of daylight used in the calculation of relative spectral power distribution f daylight illuminants of different correlated colour temperatures, for wavelength 300 to 830 nm at 5 nm intervals (CIEsLambda) CIEs2.txt CIE 15.2-1986 Table 1.2 Part 3. Component S2 of daylight used in the calculation of relative spectral power distribution of daylight illuminants of different correlated colour temperatures, for wavelength 300 to 830 nm at 5 nm intervals (CIEsLambda) CIEx2.txt CIE 15.2-1986 Table 2.1 data CIE 1931 Standard Colorimetric Observer x2(lambda) data between 380 nm and 780 nm at 5 nm intervals (CIExyzLambda) CIEy2.txt CIE 15.2-1986 Table 2.1 data CIE 1931 Standard Colorimetric Observer y2(lambda) data between 380 nm and 780 nm at 5 nm intervals (CIExyzLambda) CIEz2.txt CIE 15.2-1986 Table 2.1 data CIE 1931 Standard Colorimetric Observer z2(lambda) data between 380 nm and 630 nm at 5 nm intervals (CIExyzLambda) CIEx10.txt CIE 15.2-1986 Table 2.2 data CIE 1964 Supplementary Standard Colorimetric Observer x10(lambda) data between 380 nm and 780 nm at 5 nm intervals (CIExyzLambda) CIEy10.txt CIE 15.2-1986 Table 2.2 data CIE 1964 Supplementary Standard Colorimetric Observer y10(lambda) data between 380 nm and 780 nm at 5 nm intervals (CIExyzLambda) CIEz10.txt CIE 15.2-1986 Table 2.2 data CIE 1964 Supplementary Standard Colorimetric Observer z10(lambda) data between 380 nm and 560 nm at 5 nm intervals (CIExyzLambda)</PRE></P><P><A name = "ReadZemaxGImAnal"><H2>ReadZemaxGImAnal</H2></A><PRE> <a href = "#ReadZemaxGImAnal">ReadZemaxGImAnal</a> - Read results from a ZEMAX Geometric Image Analysis Usage : zmxGimAnal = ReadZemaxGImAnal(File); Reads data written by ZEMAX from a geometric image analysis. The associated ZemaxButton is 'Ima'. Currently only does pixel data. Not complete. See also : <a href = "#zGetTextFile">zGetTextFile</a>, <a href = "#ZemaxButtons">ZemaxButtons</a></PRE></P><P><A name = "ReadZemaxIllum"><H2>ReadZemaxIllum</H2></A><PRE> zmxIllum = ReadZemaxIllum(File) Reads text written from a Zemax Relative Illumination (Rel) analysis. The text can be written from the Relative Illumination window, or generated using <a href = "#zGetTextFile">zGetTextFile</a> with the 'Rel' 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. 'Relative Illumination 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 (in microns) fieldunits: The units of the field position data (e.g. millimetres or degrees) field: The field position data in fieldunits. relill: The relative illumination data. effeff: The effective F number at this field position. See also <a href = "#zGetTextFile">zGetTextFile</a></PRE></P><P><A name = "ReadZemaxOTF"><H2>ReadZemaxOTF</H2></A><PRE> zmxOTF = ReadZemaxOTF(Filename) Reads text written from a Zemax thru-frequency, thru-focus or thru-field OTF/MTF analysis. The text can be written from the Mtf analysis window, or generated using the <a href = "#zGetTextFile">zGetTextFile</a> with the 'Mtf' code (see help <a href = "#ZemaxButtons">ZemaxButtons</a>) The codes for thru-focus abd thru-field MTF/OTF computations are respectively 'Tfm' and 'Mth'. The results are returned in a struct in which the following fields are defined : datatype: Type of data in the data field e.g. 'Polychromatic Diffraction MTF' 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 range for the computation e.g. [0.4500 0.5150] sfreq: Spatial frequencies at which data is presented. sfrequnits: Units of spatial frequency scale e.g. 'Cycles per mm.' fieldpos: Field position data in cell array e.g. {'Diffraction limit' '0.00 mm' '20.00 mm' '40.00 mm' '40.00 mm'} colhead: Column headings in a cell array e.g {'Spatial frequency' 'Tangential' 'Sagittal'} abscis: The abscissa - Spatial frequencies, focus or field position e.g. [102x1 double] data: The actual data e.g. [102x10 double] fieldx: The x values of the field positions e.g. [0 0 0 0 0] fieldy: The y values of the field positions e.g. [0 0 20 40 40] fieldunits: The units of the field positions e.g. 'mm' fcount: The number of field positions (thru-focus and thru-frequency) or spatial frequencies (thru-field). The number of data columns will be twice this value (for Tangential and Sagittal data). See also <a href = "#zGetTextFile">zGetTextFile</a></PRE></P><P><A name = "ReadZemaxRMS"><H2>ReadZemaxRMS</H2></A><PRE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -