Skip to main content

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 click here

INSTALLATION

To install the code you will need to follow the steps bellow:

To install this code you will need to open your Shell and insert the following command:

pip install .

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 _link_

Then intall 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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

qicna-0.1-py2.py3-none-any.whl (104.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file qicna-0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: qicna-0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 104.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for qicna-0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6b202c04da5fd004b62b1487d04603441b23846704c7b8419461d87b62e87e82
MD5 58c6155d8180b8f1ce649bd3628ff57a
BLAKE2b-256 d0581ce455780687e27feb84dd38ee4b19152cb51406df812453d0cc9c633e02

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