Installation#

The Magnet Segmentation Toolkit can be installed like any other open source package.

You can either install both the backend and user interface (UI) methods or install only the backend methods.

To install both the backend and UI methods, run this command:

pip install ansys-magnet-segmentation-toolkit[all]

If you only need the common API, install only the backend methods with this command:

pip install ansys-magnet-segmentation-toolkit

To install the toolkit offline, you can use a wheelhouse. On the Releases page, you can find the wheelhouses for specific release in its asserts and download the wheelhouse.

You can then install the toolkit with this command:

pip install --no-cache-dir --no-index --find-links=<path_to_wheelhouse>/ansys-magnet-segmentation-toolkit-v0.3.3-wheelhouse-windows-latest-3.10 ansys-magnet-segmentation-toolkit

You can also install the toolkit using the toolkit manager. For more information, see the toolkit manager (TBD).