Skip to main content
https://raw.githubusercontent.com/PlasmaControl/DESC/master/docs/_static/images/logo_med_clear.png

Stellarator Optimization Package

License DOI GitHub issues Pypi

Documentation UnitTests RegressionTests Coverage

DESC solves for and optimizes 3D MHD equilibria using pseudo-spectral numerical methods and automatic differentiation.

The theoretical approach and implementation details used by DESC are presented in the following papers and documented at Theory. Please cite our work if you use DESC!

A list of papers which feature DESC can be found here.

Quick Start

The easiest way to install DESC is from PyPI: pip install desc-opt

For more detailed instructions on installing DESC and its dependencies, see Installation.

The best place to start learning about DESC is our tutorials:

For details on the various objectives, constraints, optimizable objects and more, see the full api documentation.

If all you need is an equilibrium solution, the simplest method is through the command line by giving an input file specifying the equilibrium and solver options, this way can also can also accept VMEC input files.

The code is run using the syntax desc <path/to/inputfile> and the full list of command line options are given in Command Line Interface. (Note that you may have to prepend the command with python -m)

Refer to Inputs for documentation on how to format the input file.

The equilibrium solution is output in a HDF5 binary file, whose format is detailed in Outputs.

Repository Contents

  • desc contains the source code including the main script and supplemental files. Refer to the API documentation for details on all of the available functions and classes.

  • docs contains the documentation files.

  • tests contains routines for automatic testing.

  • publications contains PDFs of publications by the DESC group, as well as scripts and data to reproduce the results of these papers.

Contribute

Metadata

Release files for desc-opt 0.17.4

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

Source distribution (sdist)

Source distribution for desc-opt 0.17.4
File Size Uploaded Provenance Actions
desc_opt-0.17.4.tar.gz 2.4 MB Without provenance Details for desc_opt-0.17.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for desc-opt 0.17.4
File Interpreter ABI Platform Actions
desc_opt-0.17.4-py3-none-any.whl Python 3 none any Details for desc_opt-0.17.4-py3-none-any.whl

Total release size: 4.6 MB

Release files / desc_opt-0.17.4.tar.gz

Download URL desc_opt-0.17.4.tar.gz
Size 2.4 MB
Tags Source
SHA-256 checksum
How to use checksums
71038458d9d1521873e72f898a7525c775f7f4cfb35c5761e9739082553c47fc
BLAKE2b-256 checksum
How to use checksums
298323188fd7f7459e10274d5d4361cb240ef87e31b328e2f9c2a6aa5416de34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / desc_opt-0.17.4-py3-none-any.whl

Download URL desc_opt-0.17.4-py3-none-any.whl
Size 2.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
04b599da37763514181fbc8f4e545b0b79ab2346bf679005a4402af3d5c7c01c
BLAKE2b-256 checksum
How to use checksums
12271d8b179dc5bbaf098a355ddc138e660802ab452648ade44a7cd608279fe5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for desc-opt 0.17.4

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.17.4 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