A code mistake of Sionna RT #952
Closed
HongdaXu
started this conversation in
Show and tell
Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @GH518dada , Thank you for reporting this issue! It is indeed a bug. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The mistake occurs on the class "FieldCalculator" in, which makes NLOS paths get wrong arrival angles, causing wrong extractions of incident e-field values. The incident e-field values are named as "tgt_patterns" in class "FieldCalculator".

The accurate position is in the loop
while dr.hint(active, mode=self.loop_mode, exclude=[wavelength]):
in the method "_compute_cir":ki_world = dr.select(active, ko_world, ki_world)
should be placed beforeactive &= (depth <= max_depth) & ~next_is_none
. The corrected code is shown as follows.Beta Was this translation helpful? Give feedback.
All reactions