Simulation results show as nan+nanj
-
Hello,
I am trying to extract the results using the python interface but I am getting a nan+nanj for each of the fields in the array.
I have used data= E_field.Data.Field(0)
The same thing happens when I export to matlab. However, when I look at the results in the analysis tab it does show the correct results. Am I missing something?
Thanks!
-
-
maybe your fields are "NaN" in some regions and "complex numbers" in other regions. This happens, for example, if you use a Mask Filter (which replaces values outside the mask by NaN).
Easy way to check:import numpy as np print(np.nanmax(E_field.Data.Field(0)))
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login