Transmission Matrix in API

AAU
AAU New Altair Community Member
edited October 2020 in Community Q&A

Hi all,

 

I am using the WinProp API. When I output the Rays.str file in a SRT simulation I cannot get the transmission matrix values as provided by the GUI. Could anyone tell me if I am missing any parameter in the API?

 

This is what I get with the GUI:

 

<?xml version="1.0" encoding="UTF-8"?>image.thumb.png.af9706683cf6170e3b56fe71f5bd5e79.png  

 

This is what I get with the API: 

 

<?xml version="1.0" encoding="UTF-8"?>image.thumb.png.659b9e5bec88afe1aae090bacbae8082.png

 

I would like to have the transmission matrix values as well.

 

Tagged:

Answers

  • Reiner_Hoppe
    Reiner_Hoppe Altair Community Member
    edited December 2019

    Hi,

    please have a look on the attached WinProp API document which is included in the 2019.2 installation.

    If WinProp_Predict(see page 35) is called with DataRaysOut structure the ray properties are also computed and returned in the structure WinProp_Ray (see page 224). This includes the complex fieldstrength vectors, however not yet the transmission matrix. This means so far the transmission matrix cannot be written in the .str file via the WinProp API, but you might use the complex fieldstrength vectors instead.

    Unable to find an attachment - read this blog