Skip to main content

Code for analyzing and evaluating stellarator plasma shapes

Project description

A dark Proxima logo in light color mode and a light one in dark color mode.

ConStellaration: A dataset of QI-like stellarator plasma boundaries and optimization benchmarks

ConStellaration is a dataset of diverse QI-like stellarator plasma boundary shapes, paired with their ideal-MHD equilibria and performance metrics.
The dataset is available on Hugging Face.
The repository contains a suite of tools and notebooks for exploring the dataset, including a forward model for plasma simulation and scoring functions for optimization evaluation.

Installation

The following instructions have been tested on Ubuntu 22.04. Other platforms may require additional steps and have not been validated.

The system dependency libnetcdf-dev is required for running the forward model. On Ubuntu, please ensure it is installed before proceeding, by running:

sudo apt-get install libnetcdf-dev
  1. Clone the repository:
git clone https://github.com/proximafusion/constellaration.git
cd constellaration
  1. Install the required Python dependencies:
pip install .

Install directly from GitHub

To install the package directly from the GitHub repository without cloning, ensure the system dependency is installed first, then run:

pip install git+https://github.com/proximafusion/constellaration.git

Running with Docker

If you prefer not to install system dependencies, you can use the provided Dockerfile to build a Docker image and run your scripts in a container.

  1. Build the Docker image:
docker build -t constellaration .
  1. Run your scripts by mounting a volume to the container:
docker run --rm -v $(pwd):/workspace constellaration python relative/path/to/your_script.py

Replace your_script.py with the path to your script. The $(pwd) command mounts the current directory to /workspace inside the container.

Explanation Notebook

You can explore the functionalities of the repo through the Boundary Explorer Notebook.

Citation

If you find this work useful, please cite us:

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

constellaration-0.1.2.tar.gz (39.9 kB view details)

Uploaded Source

Built Distribution

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

constellaration-0.1.2-py3-none-any.whl (48.8 kB view details)

Uploaded Python 3

File details

Details for the file constellaration-0.1.2.tar.gz.

File metadata

  • Download URL: constellaration-0.1.2.tar.gz
  • Upload date:
  • Size: 39.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for constellaration-0.1.2.tar.gz
Algorithm Hash digest
SHA256 78b40fa8488082ee45e3991252f8a352de71f5edef1e029c3d8b308774fa7e60
MD5 601aae1edc7b6506f51ad4a1cdaf7362
BLAKE2b-256 d5ea761a748fbcfe226fda5a1ab8f30f4157405b6513c3210b18f282bfe1fdf4

See more details on using hashes here.

File details

Details for the file constellaration-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for constellaration-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6aad6c6289b612b546472fdefd72370a77981023c2f4fded8ac29ed6b3b8be9f
MD5 0c9d97948357c519dcc24116214db9ca
BLAKE2b-256 31fbe028fa468d903f93a9c1b24d5f7cfff67089447835501ece74a381402091

See more details on using hashes here.

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