Skip to content

Commit

Permalink
Create config files for three setups of first paper.
Browse files Browse the repository at this point in the history
  • Loading branch information
Karan Desai committed Aug 15, 2016
1 parent 4bc3c2e commit d9fb8a3
Show file tree
Hide file tree
Showing 5 changed files with 182 additions and 0 deletions.
91 changes: 91 additions & 0 deletions tardis/tests/integration_tests/paper1_downbranch/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# NOTE: Config file from Paper 1, there have been significant changes
# in config schema, hence legacy schema at places has been commented out.

#New configuration for TARDIS based on YAML
#IMPORTANT any pure floats need to have a +/- after the e e.g. 2e+5
#Hopefully pyyaml will fix this soon.
---

# #Currently only simple1d is allowed
# config_type: simple1d


# atom_data: /home/wkerzend/projects/tardis_paper/kurucz_atom_chianti_many.h5
atom_data: kurucz_atom_chianti_many.h5


model:
# file:
# type: artis
# structure_fname: /home/wkerzend/projects/tardis/artis_model.dat
# abundances_fname: /home/wkerzend/projects/tardis/artis_abundances.dat
abundances:
filename: ../paper1_macroatom/abundances.dat
filetype: artis
type: file

structure:
filename: ../paper1_macroatom/densities.dat
filetype: artis
type: file
# v_lowest: 9000.0 km/s
# v_highest: 22000.0 km/s

v_inner_boundary: 9000.000 km/s
v_outer_boundary: 22000.000 km/s
# split_shells: 1


plasma:
# disable_electron_scattering: no
disable_electron_scattering: false
# type: nebular
ionization: nebular
radiative_rates_type: detailed
line_interaction_type: downbranch
# nlte:
# species : []
excitation: dilute-lte


montecarlo:
black_body_sampling:
start: 1 angstrom
# end: 1000000 angstrom
stop: 1000000 angstrom
# samples: 1.e+6
num: 1000000

convergence_strategy:
damping_constant: 1.0
fraction: 1.0
# hold: 3
hold_iterations: 3
t_inner:
damping_constant: 0.5
threshold: -0.01
lock_t_inner_cycles: 3
t_inner_update_exponent: -0.5
type: specific

no_of_packets : 1.0e+7
no_of_virtual_packets: 1
iterations: 30
# seed: 23111963171620
seed: 23111963


spectrum:
# bins : 10000
num: 10000
start: 500 angstrom
# end : 20000 angstrom
stop: 20000 angstrom

supernova:
luminosity_requested: 9.34 log_lsun
time_explosion: 11.12 day
distance : 1 Mpc

# Required now:
tardis_config_version: v1.0
91 changes: 91 additions & 0 deletions tardis/tests/integration_tests/paper1_scatter/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# NOTE: Config file from Paper 1, there have been significant changes
# in config schema, hence legacy schema at places has been commented out.

#New configuration for TARDIS based on YAML
#IMPORTANT any pure floats need to have a +/- after the e e.g. 2e+5
#Hopefully pyyaml will fix this soon.
---

# #Currently only simple1d is allowed
# config_type: simple1d


# atom_data: /home/wkerzend/projects/tardis_paper/kurucz_atom_chianti_many.h5
atom_data: kurucz_atom_chianti_many.h5


model:
# file:
# type: artis
# structure_fname: /home/wkerzend/projects/tardis/artis_model.dat
# abundances_fname: /home/wkerzend/projects/tardis/artis_abundances.dat
abundances:
filename: ../paper1_macroatom/abundances.dat
filetype: artis
type: file

structure:
filename: ../paper1_macroatom/densities.dat
filetype: artis
type: file
# v_lowest: 9000.0 km/s
# v_highest: 22000.0 km/s

v_inner_boundary: 9000.000 km/s
v_outer_boundary: 22000.000 km/s
# split_shells: 1


plasma:
# disable_electron_scattering: no
disable_electron_scattering: false
# type: nebular
ionization: nebular
radiative_rates_type: detailed
line_interaction_type: scatter
# nlte:
# species : []
excitation: dilute-lte


montecarlo:
black_body_sampling:
start: 1 angstrom
# end: 1000000 angstrom
stop: 1000000 angstrom
# samples: 1.e+6
num: 1000000

convergence_strategy:
damping_constant: 1.0
fraction: 1.0
# hold: 3
hold_iterations: 3
t_inner:
damping_constant: 0.5
threshold: -0.01
lock_t_inner_cycles: 3
t_inner_update_exponent: -0.5
type: specific

no_of_packets : 1.0e+7
no_of_virtual_packets: 1
iterations: 30
# seed: 23111963171620
seed: 23111963


spectrum:
# bins : 10000
num: 10000
start: 500 angstrom
# end : 20000 angstrom
stop: 20000 angstrom

supernova:
luminosity_requested: 9.34 log_lsun
time_explosion: 11.12 day
distance : 1 Mpc

# Required now:
tardis_config_version: v1.0

0 comments on commit d9fb8a3

Please sign in to comment.