Skip to main content

API (Python Interactive Extension): Automatically save TIF images of flux/area for all Detector Rectangles


Forum|alt.badge.img+2

An Interactive Extension was created that will automatically save flux/area data of all Detector Rectangles to TIF images having double data type. This follows a post from David Nguyen and support feedback from Sandrine Auriol and Alexandra Culler,

Script was tested with Samples\Short course\Illumination & Stray Light\Double Gauss for Sun Shield.zos. The images "Double Gauss for Sun Shield, Field 1, D11.tif" and "Double Gauss for Sun Shield, Field 1, D12.tif" were created, then opened using ImageJ.  The images will be uninteresting unless rays are traced before the extension is run.:grinning:

LoopOverAndSaveDDRs(TheSystem) is in a separate file from the Interactive Extension boilerplate so that it could also be used from a Standalone Application, though this has not yet been tested.

Language: Python

  

Click here to download

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

0 replies

Be the first to reply!

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