Quasi-isodynamic Stellarator Construction
Project description
About pyQIC
pyQIC is a python package for generating quasi-isodynamic stellarator configurations using an expansion about magnetic axis. pyQIC is written in pure python. This makes pyQIC user-friendly, with no need for compilation. though it is slower.
This code implements the equations derived by Garren and Boozer (1991) for MHD equilibrium near the magnetic axis.
Requirements
pyQIC has minimal dependencies - it requires only python3, numpy, scipy, matplotlib. If you don't already have numpy, scipy and matplotlib, they will be installed automatically by the pip install step in the Run the Code section.
USEFUL LINKS
If you need more help regarding near-axis stellarators, you can check the documentation for the quasi-symmetric version of pyQIC: click here
INSTALLATION
To install the code you will need to follow the steps bellow:
First of all you need to copy the folders and the files with the "git clone" command followed by the github repository's link. Example:
git clone https://github.com/rogeriojorge/pyQIC.git
Then, install the package to your local python environment with:
cd pyQIC
pip install -e .
Then you also need to install the librarys below:
numpy
scipy
matplotlib
Example:
pip install numpy scipy matplotlib
RUN THE CODE
To run this code you will need to use your Python and insert the following command:
from qic import Qic
stel = Qic.from_paper('r2 section 5.2')
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
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 qicna-0.3.2.tar.gz.
File metadata
- Download URL: qicna-0.3.2.tar.gz
- Upload date:
- Size: 83.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b69916b8fed87cabb5138d5606cc8c98b02a599ef8a3f3d180c1b5d61bf5b65
|
|
| MD5 |
08b6991c1e9e28eb0f7bacf83ed992a4
|
|
| BLAKE2b-256 |
5b779d248cd9927d6b43b5293d6b9064aa21503b354864e44cfd1b2ab688ca69
|
Provenance
The following attestation bundles were made for qicna-0.3.2.tar.gz:
Publisher:
pypi.yml on rogeriojorge/pyQIC
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qicna-0.3.2.tar.gz -
Subject digest:
6b69916b8fed87cabb5138d5606cc8c98b02a599ef8a3f3d180c1b5d61bf5b65 - Sigstore transparency entry: 212225375
- Sigstore integration time:
-
Permalink:
rogeriojorge/pyQIC@17d59251ecccd984f7779fe1d3967636258ac4ba -
Branch / Tag:
refs/tags/v0.3.3 - Owner: https://github.com/rogeriojorge
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@17d59251ecccd984f7779fe1d3967636258ac4ba -
Trigger Event:
push
-
Statement type:
File details
Details for the file qicna-0.3.2-py3-none-any.whl.
File metadata
- Download URL: qicna-0.3.2-py3-none-any.whl
- Upload date:
- Size: 92.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
582f5ddad256b1dcecdd04a7e8125a9939e714e1a5b748df4d862f2601c73d3d
|
|
| MD5 |
68eb5ea193e90f1b789806539f0e68ca
|
|
| BLAKE2b-256 |
140344c187fd22dededb2fdde87f1363a52d54e1fe2e18cb899598b38ce622f9
|
Provenance
The following attestation bundles were made for qicna-0.3.2-py3-none-any.whl:
Publisher:
pypi.yml on rogeriojorge/pyQIC
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qicna-0.3.2-py3-none-any.whl -
Subject digest:
582f5ddad256b1dcecdd04a7e8125a9939e714e1a5b748df4d862f2601c73d3d - Sigstore transparency entry: 212225377
- Sigstore integration time:
-
Permalink:
rogeriojorge/pyQIC@17d59251ecccd984f7779fe1d3967636258ac4ba -
Branch / Tag:
refs/tags/v0.3.3 - Owner: https://github.com/rogeriojorge
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@17d59251ecccd984f7779fe1d3967636258ac4ba -
Trigger Event:
push
-
Statement type: