Solved

# M square for multi configuration system

• Monochrome
• 5 replies

Hii All , How can I find out m square for final beam of multi configuation system ? POPD gives us the value for only one configuation. Right ?

icon

Best answer by Sandrine Auriol 28 July 2022, 12:27

View original

### 10 replies

Userlevel 6
+2

Hi Tariq

Yes but you will have to use a macro.

You can sum the ZBF beam together and then calculate the M^2 of that new ZBF beam.

@Sandrine Auriol  Can you please elaborate a little , I am new in Zemax

Userlevel 6
+2

Hi Tariq

Yes sure. Sorry I need to retype my message as it was cleared when I post it….

Userlevel 6
+2

You can save the ZBF for each configuration here:

The ZBF files will be saved under {Zemax}\POP\BeamFiles.

Then you can write a macro that will add them. I have attached the macro in my previous post. It needs to be copied under {Zemax}\Macros. But here is a screenshot of the code:

@Sandrine Auriol  Hello, Sorry But i am not able to find M square by this code . can you please elaborate a little more. :)

Actually  i am working on a system which is a 10*1 beam combiner and i need to find m square for final beam ?

Userlevel 6
+2

The M^2 can be computed using the POPD operand data=25/26.
Look at this article to see how to use the POPD operand: https://support.zemax.com/hc/en-us/articles/1500005487221-What-is-the-size-of-my-POP-beam-

By the POPD I can only get for one configuration ? and the code is giving any output !

Userlevel 6
+2

Yes POPD works as any merit function operand. So it is one configuration at a time.

So once you have made the sum of your ZBF, you can then define it in POP and then use POPD to evaluate the M^2 of the sum

Sounds cool, going to try . Thanks