artis-mcrt / artisatomic

Convert atomic data into ARTIS format from several sources (e.g., CMFGEN, NORAD)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

artis-atomic

The python package converts atomic data into ARTIS format from several sources (e.g., CMFGEN, NORAD)

Installation

First clone the repository, for example:

git clone https://github.com/artis-mcrt/artisatomic.git

Then from within the repository directory run:

python3 -m pip install -e .

Tip: if you get an error on macOS >= 11 when installing the dependency 'tables', first run brew install hdf5 c-blosc

Usage

Run "makeartisatomicfiles" at the command-line to create adata.txt, compositiondata.txt, phixsdata_v2.txt, and transitiondata.txt. This code is not user friendly at all are requires manual editing of the Python scripts to change ions and data sources.

Build and test

About

Convert atomic data into ARTIS format from several sources (e.g., CMFGEN, NORAD)


Languages

Language:Python 96.7%Language:Fortran 3.1%Language:Shell 0.2%