Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The example is working but my code with different parameters isn't working #35

Open
KorinRez opened this issue Apr 3, 2024 · 0 comments

Comments

@KorinRez
Copy link

KorinRez commented Apr 3, 2024

When I'm running the example from github, everything works fine, but when I'm running the code with my parameters I'm getting the line: "Process finished with exit code 0" and can't get the results of the calculated array.

The example from github:

scatterer = tmatrix.Scatterer(radius=1.0, wavelength=10.0, m=complex(1.5, 0.5), axis_ratio=1.0/0.6)
scatterer.get_S()
array([[ 9.66435719e-02 +6.79614074e-02j,
6.16862803e-25 +7.07135826e-25j],
[ -6.16862447e-25 -7.07128493e-25j,
-1.01600111e-01 -1.06748868e-01j]])

my code:
scatterer = tmatrix.Scatterer(radius=50, wavelength=5, m=complex(0.1903, 0), axis_ratio=180/100)
scatterer.get_S()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant