Skip to main content

API (CS User Analysis): Non-Sequential Segment By Segment Path Analysis

  • February 16, 2022
  • 6 replies
  • 256 views

Forum|alt.badge.img+2

This Zemax user analysis performs a path-analysis on an input ZRD file. The specified ZRD file will be read, and the ray paths sorted by total power in each path. This ray path analysis includes the hit-face data, meaning a ray which ghosts within a single object will be differentiated with the ray path which doesn’t ghost. This makes the analysis more robust than the native Path Analysis feature, but produces a more complex data output. As it is also slower than the native Path Analysis feature, it is recommended for use only when this level of detail is required in path analysis data. Some options are included to limit the depth of analysis to improve speed.

Author: @Zach Derocher 

 

Click here to download

Date Version OpticStudio Version Comment
2020/01/01 1.0 19.4 Creation
Did this topic help you find an answer to your question?

6 replies

Forum|alt.badge.img
  • Ultraviolet
  • 99 replies
  • March 3, 2022

Looks interesting, but is it limited to subscription model only ?

I have copied it in the “User Analysis” folder but it does not appear in the Programming toolbar (I have restarted Zemax). I use the latest version (22.1.1), premium, but not the subscription model. Or is it because my version is too recent ? This exe was built for version 19.1.


Forum|alt.badge.img+2

Yes it is limited to Premium Subscription licence.


Forum|alt.badge.img
  • Ultraviolet
  • 99 replies
  • March 14, 2022

I have tried with a subscription license, it does not appear in the menu either.


Forum|alt.badge.img+2

Hi Ray

Sorry I am not sure what is going on. The exe is under {Zemax}\ZOS-API\User Analysis. Here is what I see in OpticStudio. I’ll ask one of my colleagues to check too.

 

 


joshdfreeman
Ultraviolet
Forum|alt.badge.img
  • Ultraviolet
  • 34 replies
  • February 22, 2023

Did a solution for this ever get found?

I’m also not seeing it show up in the User Analysis menu. Premium license, not sure about Premium Subscription.

Also tried changing the name of one of the existing four default analyses (shown below) as a test. The name didn’t change in the User Analysis menu. 

 


Angel Morales
En-Lightened
Forum|alt.badge.img+1
  • En-Lightened
  • 203 replies
  • February 23, 2023

Hi @joshdfreeman,

Thanks for your post here! It sounds like it may be an issue with your Folders settings in the System Explorer. Can you double check that the file paths listed in System Explorer...Folders tab are pointing to the same location where you are adding in the User Analysis and editing the names of the custom analyses? For the API folders, they’ll be searched for based on your Data setting:

 

 

I’ve seen instances where an organization’s IT department automatically sets up machines with some cloud or remote drive as the default storage location. It would be worth checking there isn’t some duplicate {Zemax} folder stored elsewhere on your machine/another remote drive that these folder settings are pointing to rather than your folder of choice.

Let us know how these thoughts work for you -- thanks!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings