Skip to content

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

@KorinRez

Description

@KorinRez

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions