-
-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
16 changed files
with
114 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Running TARDIS in the commandline | ||
================================= | ||
|
||
.. warning:: | ||
|
||
This option will be removed in the next versions of TARDIS | ||
|
||
|
||
After installing TARDIS just download the configuration file from the | ||
`tardis-setups <https://github.com/tardis-sn/tardis-setups>`_ and the standard | ||
atomic data set from the `tardis-refdata | ||
<https://github.com/tardis-sn/tardis-refdata>`_ repository and run TARDIS. | ||
Assuming you have ``wget``, you could follow the procedure: | ||
|
||
|
||
.. code-block:: none | ||
mkdir tardis_example | ||
cd tardis_example | ||
wget https://raw.githubusercontent.com/tardis-sn/tardis-setups/master/2014/2014_kerzendorf_sim/appendix_A1/tardis_example.yml | ||
wget https://github.com/tardis-sn/tardis-refdata/raw/master/atom_data/kurucz_cd23_chianti_H_He.h5 | ||
tardis tardis_example.yml output_spectrum.dat | ||
Then plot the output_spectrum.dat with your favourite plotting program. Here's an example how to do this with python. | ||
(The only thing you need to install is ipython and matplotlib - in addition to TARDIS's requirements) | ||
|
||
.. code-block:: python | ||
ipython --pylab | ||
>>> tardis_spec = loadtxt('output_spectrum.dat') | ||
>>> plot(tardis_spec[:,0], tardis_spec[:,1]) | ||
More atomic datasets can be downloaded from :ref:`atomic-data-download`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.