Directions Spot Diagram

As of version 18.61 there is no script command equivalent to the directional spot diagram analysis available in the GUI. This knowledge base article details a script utility which manually performs the equivalent directions spot diagram analysis in the scripting language.

The script is written to loop over all rays on a designated surface in the model. If the designated surface is not found, the script will report this to the output window. If the surface is found, the following statistics are calculated for all rays associated with the surface:

# of rays included in the analysis
Incoherent Power
X and Y direction average
X and Y direction, RMS
X and Y direction, power weighted average
X and Y direction, power weighted RMS
RMS directional spot size
RMS directional spot size, power weighted
Minimum and maximum x,y ray directions


This script can be run with any associated FRED document. Line 20 should be modified specify the surface on which ray direction spot diagram information will be calculated.

Example FRED Script: directionsSpotDiagramStatistics.frs

Example FRED File: directionsSpotDiagramCalculator.frd 

Still need help? Contact Us Contact Us