Skip to content

ValueError during post process after manually editing port coordinates #15

@marcelgln

Description

@marcelgln

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions