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
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
stelladb-0.2.4.tar.gz
(10.5 kB
view details)
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
stelladb-0.2.4-py3-none-any.whl
(12.2 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d891fc01ac83ee63b5b31ada9554451669bc2f120b0cd3ab267df58a56ef857
|
|
| MD5 |
4b851a3222ed633466c407c03204d1cc
|
|
| BLAKE2b-256 |
0867b58978ce9375110f198b7a1a1fada487d7ef005653c0248c62b92e840909
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f447b49bfbbd0ce514f4073a35be4de0cb3cc255edcba97a3949eb5c54b32d5
|
|
| MD5 |
5ea6455818219b56fc9409d486e22ffb
|
|
| BLAKE2b-256 |
65cb6fde952e746af93540c20420e4fb9a5ecf766358b1962b428cd86a8c8c77
|