-
-
Notifications
You must be signed in to change notification settings - Fork 401
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add capability to store information about the plasma state during ite…
…rations (#848) * Add logging of W during iterations * Add t_rad and t_inner to logging * Fix typo * Add reshaping of plasma state storage * Move new features to mixin class * Add information about iterations to HDF storage * Add tests for plasma state iterations * Add explicit unit test for reshaping iteration stores * Fix shape typo * Add docstrings * Add unit test for store_plasma_state * Change to new reference data in TRAVIS * Add and update documentation * Fix typo * Switch back to ref-data master branch in Travis * Fix typo
- Loading branch information
1 parent
e91a7b7
commit b432f8a
Showing
12 changed files
with
207 additions
and
7 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
File renamed without changes.
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,15 @@ | ||
****************************** | ||
Accessing Physical Information | ||
****************************** | ||
|
||
Various information about numerical and physical properties of a Tardis | ||
simulation are stored during a run and can be accessed afterwards. Here, we | ||
describe how some of this information, which we deem most useful for typical | ||
use cases, can be accessed. | ||
|
||
.. toctree:: | ||
|
||
access_spectra | ||
access_final_plasma | ||
access_model | ||
access_iterations |
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,24 @@ | ||
********************************************** | ||
Access information about individual iterations | ||
********************************************** | ||
|
||
Currently we store information about the plasma state and the inner boundary | ||
for each iteration. This is saved in the simulation object and can be accessed | ||
via | ||
|
||
.. code-block:: python | ||
import tardis | ||
mdl = tardis.run_tardis("tardis_config.yml") | ||
mdl.iterations_w | ||
in case of the dilution factor. | ||
|
||
Currently, the following properties are available: | ||
|
||
.. code-block:: python | ||
mdl.iterations_w # dilution factor in each cell | ||
mdl.iterations_t_rads # radiation temperature in each cell | ||
mdl.iterations_electron_densities # electron density in each cell | ||
mdl.iterations_t_inner # inner boundary temperature |
Empty file.
Empty file.
Empty file.
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,11 @@ | ||
************** | ||
Running Tardis | ||
************** | ||
|
||
Information regarding running and operating Tardis. | ||
|
||
.. toctree:: | ||
|
||
../configuration/index | ||
access | ||
|
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