Atomic_neu is a set of tools to calculate fractional abundance and radiation of different elements in hot plasmas.
Ensure you have a Fortran compiler installed.
Required code from OPEN-ADAS:
$ python fetch_adas_data # fetch the atomic data and reading routines
$ pip install . # to compile the extension moduleSee below for details.
Launch ipython and try out the examples:
$ ipython
(in ipython) >>> %run examples/radiation.pyAtomic needs atomic data ionisation/recombination etc. coefficients, as well as the routines to read them. These are fetched from the OpenADAS [1] website. In order to download your own dataset and reading routines run:
$ python fetch_adas_dataFor description of these so called iso-nuclear master files see [2].
The routines to download are
http://open.adas.ac.uk/codes/xxdata_11.tar.gz and http://open.adas.ac.uk/codes/xxdata_15.tar.gz
and should be put in the src folder and unzipped like
src/xxdata_11 and src/xxdata_15.
Ensure you have a Fortran compiler installed.
The extension module is compiled using meson:
$ meson setup builddir
$ meson compile -C builddir
$ meson install -C builddiror
$ pip install .Have nose2 installed.
$ nose2
Test boilerplate was first produced automatedly with pythoscope, so at time of writing (20160916) many tests are skipped. (S)
[1] http://open.adas.ac.uk [2] http://www.adas.ac.uk/man/chap4-04.pdf