Skip to content

Commit

Permalink
fixing model.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
wkerzendorf committed Nov 21, 2023
1 parent 4f4aad6 commit f65a2d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/physics/setup/model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,14 @@
"from tardis.io.configuration.config_reader import Configuration\n",
"from tardis.model import SimulationState\n",
"from tardis.io.atom_data.util import download_atom_data\n",
"from tardis.io.atom_data.base import AtomData\n",
"from astropy import units as u\n",
"import matplotlib.pyplot as plt\n",
"import copy\n",
"\n",
"# We download the atomic data needed to run the simulation\n",
"download_atom_data('kurucz_cd23_chianti_H_He')\n",
"atom_data = AtomData.from_hdf(config.atom_data)"
"atom_data = AtomData.from_hdf('kurucz_cd23_chianti_H_He.h5')"
]
},
{
Expand Down

0 comments on commit f65a2d7

Please sign in to comment.