Skip to main content

A utility to read AUG shotfiles

Project description

Routines reading ASDEX Upgrade shotfiles (without wrappers) and manipulating equilibria See https://www2.ipp.mpg.de/~git/pyaug

Developed at Max-Planck-Institut fuer Plasmaphysik, Garching, Germany

Requirements:

  • python with scipy, numpy, matplotlib (recommended: anaconda)
  • pip
  • afs client and access to the ASDEX-Upgrade shotfile system

Typical usage:

pip install aug_sfread python3

import aug_sfutils as sfu equ = sfu.EQU(28053) cez = sfu.SFREAD(28053, 'CEZ') if cez.status: tim = cez.gettimebase('Ti_c') rmaj = cez('R_time').T zin = cez('z_time').T Ti = cez('Ti_c')

rho_t = sfu.rz2rho(equ, rmaj, zin, t_in=tim, coord_out='rho_tor', extrapolate=False)
jt_plot = len(tim)//2
plt.figure(1)
plt.xlabel(r'$\rho_{tor}$')
plt.ylabel('Ti [keV]')
plt.figtext(0.5, 0.95, '#%s  at t = %9.4f' %(nshot, tim[jt_plot]))
plt.plot(rho_t[jt_plot, :], Ti[jt_plot, :], 'go')
plt.show()

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

aug_sfutils-0.2.0.tar.gz (25.7 kB view details)

Uploaded Source

Built Distribution

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

aug_sfutils-0.2.0-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

Details for the file aug_sfutils-0.2.0.tar.gz.

File metadata

  • Download URL: aug_sfutils-0.2.0.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for aug_sfutils-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5a1f7610183a9670ec7dffc5ab4ca7d9d76fa3de1d3a85efd3eb5b48f48c8060
MD5 cfb4f3036751ac3e2b6a0d6d856cc669
BLAKE2b-256 fbdb8733fac073d26f05b14429b8338215676b4347f11543a126cf5d44ad9283

See more details on using hashes here.

File details

Details for the file aug_sfutils-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: aug_sfutils-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 27.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for aug_sfutils-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c03a6ab1af0b7431f768b1fc7f03a8939527e96190e4562ddc30d825f3c21ccc
MD5 43944d06f7c7446c83a5ae0ff34d70c7
BLAKE2b-256 f10e5c77a4ac39829d16e6340d6665bdd49c55eeeb6f1622be260ca0fd3c34ab

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