-
-
Notifications
You must be signed in to change notification settings - Fork 402
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #772 from vg3095/cmf_density
[TEP007] CMFGEN density parser
- Loading branch information
Showing
10 changed files
with
295 additions
and
91 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
36 changes: 36 additions & 0 deletions
36
tardis/io/tests/data/tardis_configv1_tardis_model_format.yml
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,36 @@ | ||
tardis_config_version: v1.0 | ||
|
||
supernova: | ||
luminosity_requested: 2.8e9 solLum | ||
time_explosion: 13 day | ||
|
||
atom_data: kurucz_cd23_chianti_H_He.h5 | ||
model: | ||
|
||
structure: | ||
type: file | ||
filename: tardis_model_format.csv | ||
filetype: tardis_model | ||
|
||
abundances: | ||
type: file | ||
filename: tardis_model_format.csv | ||
filetype: tardis_model | ||
|
||
plasma: | ||
ionization: lte | ||
excitation: lte | ||
radiative_rates_type: dilute-blackbody | ||
line_interaction_type: macroatom | ||
|
||
montecarlo: | ||
seed: 23111963 | ||
no_of_packets : 2.0e+5 | ||
iterations: 5 | ||
last_no_of_packets: 5.0e+5 | ||
no_of_virtual_packets: 5 | ||
|
||
spectrum: | ||
start: 500 angstrom | ||
stop: 20000 angstrom | ||
num: 10000 |
This file was deleted.
Oops, something went wrong.
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,13 @@ | ||
t0: 0.976 day | ||
velocity temperature densities electron_densities C O Mg Si Ni56 Ni58 | ||
km/s K g/cm^3 /cm^3 1 1 1 1 1 1 | ||
871.66905 76395.577 4.2537191E-09 2.60E+14 0 0 0 0.6 0.4 0 | ||
877.44269 76395.577 4.2537191E-09 2.60E+14 0 0 0 0.1 0.5 0.4 | ||
894.99407 76395.631 4.2537191E-09 2.60E+14 0 0 0 0.3 0 0.7 | ||
931.1571 76396.057 4.2537191E-09 2.60E+14 0 0.2 0.8 0 0 0 | ||
990.30752 76399.042 4.2537271E-09 2.60E+14 0 0.3 0.7 0 0 0 | ||
1050.8676 76411.983 4.2539537E-09 2.60E+14 0 0.2 0.8 0 0 0 | ||
1115.1545 76459.592 4.2563604E-09 2.60E+14 0 0.2 0.8 0 0 0 | ||
1183.3741 76633.367 4.2683079E-09 2.61E+14 0 0.2 0.8 0 0 0 | ||
1255.767 77312.12 4.290997E-09 2.64E+14 0.5 0.5 0 0 0 0 | ||
1332.5886 79602.375 4.3396835E-09 2.72E+14 0.5 0.5 0 0 0 0 |
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
Oops, something went wrong.