Code for analyzing and evaluating stellarator plasma shapes
Project description
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
Install from PyPI
The package can be installed directly from PyPI:
pip install constellaration
Install by cloning the repository
- Clone the repository:
git clone https://github.com/proximafusion/constellaration.git
cd constellaration
- Install the required Python dependencies:
pip install .
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.
- Build the Docker image:
docker build -t constellaration .
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file constellaration-0.1.4.tar.gz.
File metadata
- Download URL: constellaration-0.1.4.tar.gz
- Upload date:
- Size: 39.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da09d19ef57580a3644361cc33fb63f2842720d6b45a87e524f7cdf96364ab14
|
|
| MD5 |
8e36bdb420c273cb4fd907c1940f7238
|
|
| BLAKE2b-256 |
f4c44c7932bf951a1e095e13352c9d12a493e38392e05a380e1cf7113ae0139b
|
File details
Details for the file constellaration-0.1.4-py3-none-any.whl.
File metadata
- Download URL: constellaration-0.1.4-py3-none-any.whl
- Upload date:
- Size: 48.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
262c232f4149daf65b37f7894e6802e7bf0209762781a085ff374297aef65858
|
|
| MD5 |
5929b32bef2e2157bf1282ea31a1bf2e
|
|
| BLAKE2b-256 |
ece3a9b0d5abfd8efe6e81faf75570d3a4655e8420941028fdecd9a7f7be5ff9
|