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

ValueError during post process after manually editing port coordinates #15

Open
marcelgln opened this issue Nov 26, 2024 · 0 comments
Open

Comments

@marcelgln
Copy link

First thanks for creating this. It is really helpful. I am new to EM simulation, so probably I miss some points.
I executed one of the examples, which produced sensible results.
Next, tried to simulate a GCPW from KiCad, the results where completely wrong.

Opened the geometry.xml in appCSXcad and noticed the ports where not at the expected position. In the pos.csv file I used the coordinates from KiCad (both drill and grid origin were at the same position) . I expect I have to do some calculations related to the size of the port, but didn't check that yet.
For a quick test I tweaked the csv file a bit until the ports were shown at a more sensible position.

However after running the simulation, the post processing resulted in the following error:

[11:32:00][INFO] Adding virtual ports
Traceback (most recent call last):

ValueError: the number of columns changed from 2 to 72 at row 24; use usecols to select a subset and avoid this error

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