Open mrcromulent opened 3 months ago
Github wouldn't let me attach the auxillary files, sorry
File example_config.yml
# Example YAML configuration for TARDIS
tardis_config_version: v1.0
supernova:
luminosity_requested: 9.44 log_lsun
time_explosion: 13 day
atom_data: kurucz_cd23_chianti_H_He.h5
csvy_model: example_csvy.csvy
plasma:
disable_electron_scattering: no
ionization: lte
excitation: lte
radiative_rates_type: dilute-blackbody
line_interaction_type: macroatom
montecarlo:
seed: 23111963
no_of_packets: 4.0e+4
iterations: 20
nthreads: 1
last_no_of_packets: 1.e+5
no_of_virtual_packets: 10
convergence_strategy:
type: damped
damping_constant: 1.0
threshold: 0.05
fraction: 0.8
hold_iterations: 3
t_inner:
damping_constant: 0.5
spectrum:
start: 500 angstrom
stop: 20000 angstrom
num: 10000
File example_csvy.csvy
---
name: csvy_full
model_density_time_0: 4.62963e-05 day
model_isotope_time_0: 0.0266667 day
description: Example
tardis_model_config_version: v1.0
datatype:
fields:
- name: velocity
unit: cm/s
desc: velocities of shell outer bounderies.
- name: density
unit: g/cm^3
desc: density of shell.
- name: C12
desc: fractional C12 abundance.
- name: O16
desc: fractional O16 abundance.
---
velocity,density,C12,O16
1.37331e+09,76.4061,6.36293e-06,0.438889
1.43156e+09,65.1115,4.00259e-06,0.630709
1.4914e+09,41.5399,1.16434e-05,0.662441
1.55411e+09,25.1586,9.12116e-05,0.646794
1.62089e+09,15.2277,0.000414912,0.620527
1.69108e+09,10.136,0.00124593,0.588458
1.76214e+09,6.72036,0.00277819,0.542888
1.83348e+09,4.90628,0.00546722,0.483187
1.90602e+09,3.42798,0.00871367,0.410087
1.974e+09,2.58831,0.0119094,0.343264
2.05064e+09,2.29487,0.0136243,0.277051
2.11975e+09,1.41053,0.0146015,0.22898
2.19132e+09,1.39823,0.0143288,0.178491
2.26874e+09,0.926097,0.0159026,0.142512
2.33824e+09,0.903295,0.01617,0.122333
2.41396e+09,0.654972,0.0134753,0.0852562
2.48099e+09,0.474333,0.0130918,0.0640767
2.55252e+09,0.440394,0.0172914,0.0614422
2.62229e+09,0.366044,0.0136179,0.039855
2.6953e+09,0.284077,0.0134391,0.0292639
Describe the bug When calling the
store_transport_to_hdf
function intardis.io.model_reader
, TARDIS attempts to access a non-existent attributeTo Reproduce
store_transport_to_hdf
on the returnedsimulation.transport
objectSystem
OS:
Environment (
conda list
):Additional context
.to_hdf
method also does not seem to work for me