Skip to main content

Python GUI for gds2palace

Intro

Install

pip install setupEM

Full documentation, installation guide, and usage walkthrough: https://github.com/VolkerMuehlhaus/setupEM

Recent changes

What's New - November 22, 2026 (setupEM 0.19.1)

Needs gds2palace 0.12.0 or newer (pip install updates it).

Tube ports in the layout preview. gds2palace 0.12.0 builds a via port shape drawn with an area (short side more than 10 % of the long side) as a tube port: the four side walls of the shape's bounding box, as one port. This is meant for a port that stands for a real conductor, e.g. a copper pillar between two chips that are simulated as two separate models (example more_examples/chiplet_split_at_pillars in the gds2palace repository). The layout preview draws such a port as its four walls. Via ports drawn as lines are shown as one sheet, as before.

Status line with Palace 0.19. Palace 0.19 writes the progress of the adaptive frequency sweep in a new form, and the status line stayed at "Port: n/a | Freq: ROM build" for the whole sweep. It now shows port and frequency progress with Palace 0.19 as with older versions, and a model with one excitation shows "Port 1/1". After a run with adaptive mesh refinement, the AMR iteration no longer drops back by one at the end (e.g. from 2/2 to 1/2).

What's New - November 19, 2026 (setupEM 0.19.0)

Needs gds2palace 0.11 and gds_prepare_for_EM 1.8 or newer (pip install updates them). setupEM, gds2palace and gds_prepare_for_EM read layouts with gdstk now instead of gdspy, which is no longer maintained (its polygon fracturing could hang); gdspy is no longer installed with setupEM.

The cell read when the Cellname box says "(default)". gds2palace 0.11 reads the design cell then: the top-level cell with the largest bounding box, never KLayout's $$$CONTEXT_INFO$$$. Before, it read the first top-level cell, which depends on the order in the file (for some KLayout files $$$CONTEXT_INFO$$$). The box now names that cell, e.g. "(default: T582_BEOL_D1_300u)", so you see which cell the model and the layout preview use; it is still saved as an empty cell name. Tools > Simplify GDS takes the same cell (gds_prepare_for_EM 1.8).

Tools > Simplify GDS gets gds_prepare_for_EM 1.8: merged vias are complete (before, rings of vias came out cut open and large via fields lost strips along their fracture lines), circuit blocks whose wiring is drawn as paths are no longer deleted as seal rings, and large layouts are much faster.

What's New - November 16, 2026 (setupEM 0.18.4)

File > Save (Ctrl+S) saves the settings file you opened. Opened from a .simcfg (e.g. the KLayout plug-in's export, with Open in setupEM), Ctrl+S did nothing: the action existed only for a script edited in place, and changes such as a port wall extension were lost without a question when setupEM was closed. Now:

  • Ctrl+S saves into the .simcfg / .tsimcfg the model was opened from (the menu names it). Its other entries, e.g. the plug-in's link to the model script, are kept. A script edited in place and a piece of a split region are saved as before; a new model asks for a file name.
  • Closing setupEM, opening another file or File > New asks "Save the changes to ...?" when the settings changed since the file was opened or saved.

Full history: CHANGES.md


Note: the setupEM PyPI package itself requires:

  • gds2palace>=0.12.0
  • gds_prepare_for_EM>=1.8.0
  • PySide6
  • shiboken6
  • scipy
  • requests
  • scikit-rf
  • matplotlib
  • numpy
  • gdstk
  • meshio
  • pyvista
  • pyvistaqt

(Other Python modules mentioned above are only needed to run standalone helper scripts in this repository, not to use the installed package.)

Metadata

Release files for setupEM 0.19.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for setupEM 0.19.1
File Size Uploaded Provenance Actions
setupem-0.19.1.tar.gz 485.7 kB Without provenance Details for setupem-0.19.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for setupEM 0.19.1
File Interpreter ABI Platform Actions
setupem-0.19.1-py3-none-any.whl Python 3 none any Details for setupem-0.19.1-py3-none-any.whl

Total release size: 933.3 kB

Release files / setupem-0.19.1.tar.gz

Download URL setupem-0.19.1.tar.gz
Size 485.7 kB
Tags Source
SHA-256 checksum
How to use checksums
26496cbdf02d0914dcedd9a4bf41714c513c1f227757b3075408903da6384ae0
BLAKE2b-256 checksum
How to use checksums
a41ed835fccdeed9030528aa311f50d2fa114ae598b122bb320c1d860d1cc915
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / setupem-0.19.1-py3-none-any.whl

Download URL setupem-0.19.1-py3-none-any.whl
Size 447.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87ad514ffd38dd5d5e0ba4bc551e60b100e39569b237bdb47bcfae775e915ea5
BLAKE2b-256 checksum
How to use checksums
d0074d247df7de551db17bcc702fe4222d7f5d34e0ee44b9f0597c7c4f042323
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for setupEM 0.19.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.19.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page