Skip to main content

Computes, analyzes and optimizes 3D MHD equilibria for stellarators and tokamaks

Project description

https://raw.githubusercontent.com/unalmis/DESC/master/docs/_static/images/logo_med_clear.png

Stellarator Optimization Package

License DOI GitHub issues Pypi

Documentation UnitTests RegressionTests

Improvements

Like the original package, but with bounce integrals as well as all the improvements in this fork.

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-v2

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

Project details


Download files

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

Source Distribution

desc_v2-1.17.5.tar.gz (2.4 MB view details)

Uploaded Source

Built Distribution

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

desc_v2-1.17.5-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

File details

Details for the file desc_v2-1.17.5.tar.gz.

File metadata

  • Download URL: desc_v2-1.17.5.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for desc_v2-1.17.5.tar.gz
Algorithm Hash digest
SHA256 ef80dd3440cdaee015ef183fdf78bcd40e31c6fcdbe22c52a418c0527c0fb21e
MD5 3cc73e469eedb217b6e85689b52247a7
BLAKE2b-256 060cb3f057322c894ff62d7b89ff8c3c14b3a2ea5691b616eedf16484d0a3546

See more details on using hashes here.

Provenance

The following attestation bundles were made for desc_v2-1.17.5.tar.gz:

Publisher: release.yml on unalmis/DESC

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file desc_v2-1.17.5-py3-none-any.whl.

File metadata

  • Download URL: desc_v2-1.17.5-py3-none-any.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for desc_v2-1.17.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8302490180626222986b4824bc1e0554ccaa2a564697f22da25ae301b666fc1b
MD5 e51884b2432ad1a9f9eb6ae1cfab6fae
BLAKE2b-256 fd8d3ba53a339f74ff4246463325fff6f5a4771fb7cc083976d15654f247a247

See more details on using hashes here.

Provenance

The following attestation bundles were made for desc_v2-1.17.5-py3-none-any.whl:

Publisher: release.yml on unalmis/DESC

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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