Skip to content

ProjectTorreyPines/ADAS.jl

Repository files navigation

CI

runtests_FUSE

ADAS.jl

This package provides ADAS ionization, recombination, radiation, ... rates and some functions to retrieve cooling rates, Zeff and effective charge state.

Usage

Basic usage:

using ADAS

# retrieve data for carbon
data = retrieve_ADAS_data("C"; year="latest", type="scd", metastable=false)

# show  available ADAS data
show_ADAS_data()

# show  available ADAS data for C
show_ADAS_data(:C)

# show adf11 format available
show_adf11_types()

Additional features

using ADAS
using Plots

# retrieve effective charge state for Kr
zeff = ADAS.get_Zeff(:Kr)
plot(zeff)

# retrieve cooling rate for W
cr = ADAS.get_cooling_rates(:W)
plot(cr)

# retrieve abundance fraction
af = ADAS.get_abundance_fraction(:Ne)
plot(af, Te=1:1.0:10000.0)

Online documentation

For more details, see the online documentation.

Docs