Skip to content

Commit

Permalink
move configuration again
Browse files Browse the repository at this point in the history
cleanup in running
  • Loading branch information
wkerzendorf committed Jul 22, 2019
1 parent baec4c4 commit 6d35962
Show file tree
Hide file tree
Showing 21 changed files with 79 additions and 30 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ Configuration File
TARDIS uses the `YAML markup language <https://en.wikipedia.org/wiki/YAML>`_
for its configuration files. There are several sections which allow different
settings for the different aspects of the TARDIS calculation. An example
configuration file (with a small subset of the options that can be specified) can be downloaded :download:`here
<../examples/tardis_example.yml>`.
configuration file (with a small subset of the options that can be specified) can be downloaded at `example_yml`_.

.. warning::
One should note that currently floats in YAML need to be specified in a special format:
Expand All @@ -24,6 +23,10 @@ can be seen here:
The following shows all the options (and their default settings) that are available for TARDIS. No other options
are allowed or available


.. contents:: Overview
:local:

Configuration Schema
====================

Expand Down Expand Up @@ -159,3 +162,5 @@ just an integer. Finally, the method option selects the final spectral synthesis
interaction mode. Note also the limitations listed at the bottom of the
dedicated page.


.. include:: ../running/example_data.inc
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions docs/configuration/schemas/base.yml
1 change: 1 addition & 0 deletions docs/configuration/schemas/model.yml
1 change: 1 addition & 0 deletions docs/configuration/schemas/montecarlo.yml
1 change: 1 addition & 0 deletions docs/configuration/schemas/plasma.yml
1 change: 1 addition & 0 deletions docs/configuration/schemas/spectrum.yml
1 change: 1 addition & 0 deletions docs/configuration/schemas/supernova.yml
File renamed without changes.
63 changes: 45 additions & 18 deletions docs/quickstart/quickstart.ipynb

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/running/configuration/schemas/base.yml

This file was deleted.

1 change: 0 additions & 1 deletion docs/running/configuration/schemas/model.yml

This file was deleted.

1 change: 0 additions & 1 deletion docs/running/configuration/schemas/montecarlo.yml

This file was deleted.

1 change: 0 additions & 1 deletion docs/running/configuration/schemas/plasma.yml

This file was deleted.

1 change: 0 additions & 1 deletion docs/running/configuration/schemas/spectrum.yml

This file was deleted.

1 change: 0 additions & 1 deletion docs/running/configuration/schemas/supernova.yml

This file was deleted.

2 changes: 2 additions & 0 deletions docs/running/example_data.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.. _example_yml: https://github.com/tardis-sn/tardis-setups/blob/master/2014/2014_kerzendorf_sim/appendix_A1/tardis_example.yml
.. _example_atomic_database: https://github.com/tardis-sn/tardis-refdata/raw/master/atom_data/kurucz_cd23_chianti_H_He.h5
19 changes: 15 additions & 4 deletions docs/running/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,29 @@
Running TARDIS
**************

The TARDIS code needs three components to calculate spectra: 1) an atom database
2) a model 3) a configuration file. The Atom Database is created by the
`Carsus <https://tardis-sn.github.io/carsus/>`_ subpackage. A quick start guide
to run TARDIS can be found :ref:`here <quickstart>`
The TARDIS code needs three components to calculate spectra:


.. toctree::
:maxdepth: 1
:numbered:

../models/index.rst
../configuration/index.rst
3. Atom Database <https://tardis-sn.github.io/carsus/>


A quick start guide to run TARDIS can be found
`here <../quickstart/quickstart.ipynb>`_.


.. toctree::
:maxdepth: 2
:caption: Running TARDIS and interactivity

commandline
gui
notebooks/index.rst

.. _quickstart:

Expand Down
4 changes: 4 additions & 0 deletions docs/running/notebooks/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Interactive TARDIS runs
=======================

xxx

0 comments on commit 6d35962

Please sign in to comment.