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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

desc_opt-0.17.3.tar.gz (2.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

desc_opt-0.17.3-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

File details

Details for the file desc_opt-0.17.3.tar.gz.

File metadata

  • Download URL: desc_opt-0.17.3.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for desc_opt-0.17.3.tar.gz
Algorithm Hash digest
SHA256 8a4fd4b7d7b9a444481bdf81b05ef88189658454f5257665b062d223d07239f9
MD5 b2ecd351b3b927dc5a074c7fd98ef176
BLAKE2b-256 345b32de755ca3ecd85b3db6c6ab79020cb25c9b0184000f5f94529ed757e45d

See more details on using hashes here.

File details

Details for the file desc_opt-0.17.3-py3-none-any.whl.

File metadata

  • Download URL: desc_opt-0.17.3-py3-none-any.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for desc_opt-0.17.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e9c79eb6711dc0f472d1c574693c22596ffd17708a2173f2b0d4bdca7b7ff6f3
MD5 a633933c194847dc9a3cb2ada1095338
BLAKE2b-256 49400839418e3449bfef2d86fd4f7d0def3fd47a12f80e2b166299ed5f2204f0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.17.3 This release

2 files

0.17.2

2 files

0.17.1

2 files

0.17.0

2 files

0.16.0

2 files

0.15.0

2 files

0.14.2

2 files

0.14.1

2 files

0.14.0

2 files

0.13.0

2 files

0.12.3

2 files

0.12.2

2 files

0.12.1

2 files

0.12.0

2 files

0.11.1

2 files

0.11.0

2 files

0.10.4

2 files

0.10.3

2 files

0.10.2

2 files

0.10.1

2 files

0.10.0

2 files

0.9.2

2 files

0.9.1

2 files

0.9.0

2 files

0.8.2

2 files

0.8.1

2 files

0.8.0

2 files

0.7.2

2 files

0.7.1

2 files

0.7.0

2 files

0.6.4

2 files

0.6.3

2 files

0.6.1

2 files

0.6.0

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.13

2 files

0.4.12

2 files

0.4.11

2 files

0.4.10

2 files

0.4.9

2 files

0.4.8

2 files

0.4.7

2 files

0.4.6

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.34

2 files

0.3.30

2 files

0.3.29

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page