Skip to main content

Includes functions to upload DESC and VMEC data to the stellarator database.

Project description

Stellarator-Database

Includes the functions required to upload DESC or VMEC results to the stellarator database. You can access the database here.

This is still a work in progress.

Install using pip

pip install stelladb

Install using GIT

Clone GIT repo

git clone https://github.com/PlasmaControl/Stellarator-Database.git

Once you get the files,

cd Stellarator-Database

Building conda environment

conda create --name db
conda activate db
pip install -r requirements.txt

Sample usage

from desc.examples import get
import stelladb

eq = get("HELIOTRON")
eq.save("test_output_HELIOTRON.h5")
save_to_db_desc("test_output_HELIOTRON", configid="HELIOTRON", user="username")

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

stelladb-0.2.4.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

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

stelladb-0.2.4-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file stelladb-0.2.4.tar.gz.

File metadata

  • Download URL: stelladb-0.2.4.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for stelladb-0.2.4.tar.gz
Algorithm Hash digest
SHA256 7d891fc01ac83ee63b5b31ada9554451669bc2f120b0cd3ab267df58a56ef857
MD5 4b851a3222ed633466c407c03204d1cc
BLAKE2b-256 0867b58978ce9375110f198b7a1a1fada487d7ef005653c0248c62b92e840909

See more details on using hashes here.

File details

Details for the file stelladb-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: stelladb-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for stelladb-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0f447b49bfbbd0ce514f4073a35be4de0cb3cc255edcba97a3949eb5c54b32d5
MD5 5ea6455818219b56fc9409d486e22ffb
BLAKE2b-256 65cb6fde952e746af93540c20420e4fb9a5ecf766358b1962b428cd86a8c8c77

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