Use this space to learn more about your software!
Marginal Ray solve function
Hi,Following Zemax tutorial, I add Marginal Ray Solve for my paraxial lens? What does it mean in practice? Also, my spot diagram has changed.I am sorry if my questions sound very basic, but I a very new to Zemax. Could you also suggest some easy-to-understand materials that would helps in making a sense out of analysing graphs and diagrams produced by Zemax?
Shop specifications for Mangin mirror?
Could anyone share a successful specification sheet example for a Mangin mirror to go out for quote? I have the toleranced radii and center thickness, edged diameter and clear apertures all defined, calling out wedge across clear aperture to be less than 25µm, polish quality, AR coating on the refractive surface, etc. all complete. What I don’t know is how best to specify the reflective surface. I know the desired reflectivity, which will likely either require aluminum or silver, but I’m not familiar with how to specify the protective coat(s) that is/are applied on top of the reflective coating. Is flat black epoxy paint OK, or can it oxidize the coating and cause delamination? Does an intermediary non-oxidizing, adherent coating need to be applied over the reflective metal before painting flat black? Thanks for any advice. Mike
Modeling a shear plate
I have a fiber output which is collimated by a simple PCX lens. I check the beam collimation with a shear plate.I’d like to model this using POP but I’m not sure it’s possible? Seems like I would need non-sequential mode to account for the splitting. Or is it possible another way, maybe using the Huygens integral in NSQ?
Hi all,Is there a simple way to define a 2D parallelogram source?edit:succeed usuing DAT file, and then import as source file:file1 = open("paraleloid.DAT","w")Nx = 20A = 4B = 12H = 9theta = 30a = A/Nxh = H/(6*Nx)dx = h / np.tan(np.pi*theta/180)Ny = H/hNy = round(Ny)N = Ny*NxL0 = str(N) +" "+str(4)+"\n"file1.writelines(L0)for j in range(Ny): for i in range(Nx): L1 = str(round(i*a+j*dx,2))+" "+str(round(h*j,2))+" "+str(0) +" "+str(0) +" "+str(0) +" "+str(1)+" "+str(1)+"\n" file1.writelines(L1)file1.close() #to change file access modesThanks,Nadav
How to reset/adjust the window layout
OpticStudio uses a layout manager to determines how to position and resize the windows. This manager can sometimes go into a state where the window of an editor/analysis take a default undesirable shape. This thread idea has been suggested and co-written by Dusan Zadravec.
The Universal Plot does not consider TCE values in the Lens Data Editor
I've setup a Universal Plot to display the variation of ensquared energy (DENC Merit Function operand) with the temperature (TEMP Multi-Configuration operand). At first glance, the plot looked convincing. However, when I changed the TCE of one surface, the plot did not changed even slightly. Therefore, I think that the TCE is not accounted in the Universal Plot. Could you confirm?
Optimization by setting criterion as Contrast
Hello, i am using a standard version of Zemax OpticStudio 20.2. I am not able to access certain features like '' Chip zone '' and optimization by choosing '' contrast '' as the optimization critireon. Is it because i am using standard version. Can anybody confirm this.Thanks in advance.
[Webinar] Equation Driven Surfaces for Optical Parts Creation in OpticsBuilder [Q&A]
This thread is dedicated to the upcoming webinar: Equation Driven Surfaces for Optical Parts Creation in OpticsBuilder. Any questions received during the webinar will be responded to as a reply on this thread. Feel free to post your own questions! The speaker will be notified and will respond as long as the thread is still open.Be sure to subscribe to this thread if you want to see additional discussion regarding this webinar topic. The thread will be open to new replies for a limited time following the event. [The event has concluded] Webinar detailsDate: Thursday, November 24thTime: 6:00 - 6:45 AM PDT | 11:00 - 11:45 AM PDTPresenter: Mojtaba Falahati, Senior Application EngineerAbstract:The ability to save the parts into PDM systems now includes the option to recall the equations used to generate the surfaces. Legacy import of geometry into OpticsBuilder uses splines/NURBS sampling based on the equations provided by OpticStudio which offers speed and accuracy high enough for most app
How to Evaluate Zernike Values with Multiple-Configs in Tolerancing
Hello, I’d like to know how to output a set of Zernike values when running Tolerancing when I have two separate configurations?Setup: There are two wavefronts being evaluated in each configuration. Tolerancing is setup to run a User Tolerance Script. The TSC loads a merit function with criterion for both configurations. There is a setting under Tolerancing→ Criterion that allows for the configuration to be set to “All”, “1/2” and “2/2”. The TSC computes the standard Zernike terms within and reports them to an output TXT file.Issue: Running in any CFG mode produces the nominal system output and only one evaluation of the MIN/MAX tolerance. If running in “All” mode, the Zernike values for CFG 1 are reported, same as running in “1/2” mode. Running in “2/2” modes, the Zernike values expected for CFG 2 are reported. Question: Is there a trigger for the TSC or a setting such that Zernike values for both configs are output during a single tolerancing run? Given the TSC is called at each itera
Field type of spatial variant PSF
Hello. I am trying to extract spatial variant PSF(svPSF) from my lens system. I have a questioin about svPSF and feild type of the opticstudio. The svPSF are caused by the positsion of the light source which is not on the optic axis. The posistion of the light sourced is necessary to me. I want to know the relation between position of the light source and the values of the field. I set “real image height” as the field type, but another field type can be good if the posistion of the light source can be easily estimated with it. Thank you.
I can't understand: the ray intensity in "polarization ray trace" can be more than 1 ?
Hi, My friends, I am doing a ray polarization ray tracing in a Wollaston Prism model, the initial ray intensity is set to 1, but I found the insensity before the Prism surface becomes 1.025869078071, that means the ray energy is increased, this confused me. Can you help? Thanks! The following is some polarization ray trace information:
ZOS-API equivalents for ZPL numeric function SURC(A$) and MAXF()
The following code can be used as (MATLAB) ZOS-API equivalents for ZPL numeric function SURC and MAXF:   surf=0; while(surf<TheSystem.LDE.NumberOfSurfaces) if(TheSystem.LDE.GetSurfaceAt(surf).Comment=="TEST") surc=surf; break end surf=surf+1; end max_field = -1E9; for i = 1:TheSystem.SystemData.Fields.NumberOfFields X_field= TheSystem.SystemData.Fields.GetField(i).X; Y_field= TheSystem.SystemData.Fields.GetField(i).Y; radial_field= sqrt(X_field^2+Y_field^2); if (radial_field> max_field) max_field = radial_field; max_field_num=i; end end fprintf('%d %f\n',max_field_num,max_field);
Including a custom (asymmetric) angle dependent interface
For our application, we are simulating a camera that has pixels with an asymmetric angular response. We are wondering the best way to include it and calculate the PSF of the system.This could be done with a flat, zero-thickness layer near the image plane The angular response means it changes the amplitude of the ray depending on the position and the incidence angle (so it depends on Hx, Hy, Px and Py ) The angular response is custom and not radially symmetric.We tried to include it has a custom coating, but since the angular response is not symmetric with respect to the optical axis, it does not work great. Is there a way to include it using OpticsStudio Standard?Would it be possible to implement it with DLLs? Or is there another “programming” option? Many thanks
Feature Request: Custom Color Maps
Zemax allows for three colormaps, Magma, Viridis, and Spectrum. I would like to be able to import a custom color map into Zemax. There are many good reasons for different color maps and some very good reasons to avoid certain color maps and different color maps are better suited to 3D surfaces instead of 2D surfaces for example. I will relinquish that discussion to the current literature, in particular, the discussion from Kenneth Moreland and examples from ColorBrewer.An alternative to custom color maps would be more color maps along the lines presented in ColorBrewer, Sequential; Diverging; Qualitative; with groups or filters to select for colorblind safe, print friendly, and photocopy safe. Perhaps an import feature could be created for five custom color maps that accepts the color codes from ColorBrewer for between 3 and 12 color classes.Additionally, I would prefer being able to select the color map in the analysis window instead of as a global setting.
Hi,I renew my student license from Zemax, but I cannot use the license number. What happen is that I don't see my old license to choose on the list, and in the email I have “License Update Code” which I cant use anywhere! I’m guessing I have to retrieve my old license somehow and then update it. I deleted Zemax from my computer, and I think that is why I don't see the my old license anymore!Would anybody please help me to figure this out?ThanksAbbas
TM-25 for illumination
Hi - Anyone know if there are any tools around that would enable looking at TM-25 source files in Zemax? (Searching the help or Knowledge base in Zemax turns up nothing, so I'm guessing this is not a feature yet). Here is what TM25 files are about: https://github.com/JuliusMuschaweck/TM25RaySetTools Best regards, John
about diffraction effect
Hi, all. I tried to simulate the effect of a beam propagating through a plexiglass with a hole. I tried two configurations. The first one is the beam goes through the plexiglass with a hole directly, and I observe the intensity distribution at a certain distance after the plexiglass. The second is the beam goes through the plexiglass with the hole first, then it goes forward and is reflected by a retroreflector, I observe the effect of the reflected intensity distribution at the place where the source is located. The origional files are attached. For the first case, I can't see the effect of the hole at all, wherever the detector and the plexiglass are placed and however much the hole is , while for the second case the effect of the hole is that obvious. I just can't figure out why it is like that. Someone could give me some tipps? Thank you in advance! All the best,
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.