Problem in python: no attribute 'RFsovler'
Opened this issue · 5 comments
Hello Prof Reid,
I am new to Linux-based coding. I am trying to run the python script in example 'MicrostripDevices'.(Ubuntu 18.04)
However, a problem poped out showing that:
AttributeError: module object has no attribute 'RFsolver'.
I have already added the path "${HOME}/scuff-em-installation/lib/python2.7/site-packages" in to environment variables, but this problem still show after "python CPW.py".
I am wondering if I could ask for your insights on the python scripts like which "scuff" file should be imported in setupSCUFF.py ?
Thank you in advacne!
Best,
Bin
RFsovler
A typo? Should't that be RFsolver?
Hi texnokrates,
I am so sorry for the typo in the comment.
The spelling in the python script is correct, It seems the system did not find the right scuff.py file.
The error says:
File "CPW.py", Line 12, in
Solver=scuff.RFSolver
AttributeError: 'module' object has no attribute 'RFSolver'.
Thank you for your help!
The solver should be replaced to scuffSolver
:
Solver=scuff.scuffSolver()
However, I got a signal 11 after the replacement, meaning that some debugging is still needed to make it work.
Hope that helps.
The solver should be replaced to
scuffSolver
:
Solver=scuff.scuffSolver()
However, I got a signal 11 after the replacement, meaning that some debugging is still needed to make it work.Hope that helps.
Thank you for your help, jmllorens!
I got the same "signal 11" for CPW.py as well, but it works well for EFAntenna.py script so far.
Does the EFAntenna.py script provide reasonable results as compared with the cited paper?
Best regards
Norbert