diff --git a/docs/io/optional/how_to_custom_source.ipynb b/docs/io/optional/how_to_custom_source.ipynb
index 8860d2d4525..99bd5da7915 100644
--- a/docs/io/optional/how_to_custom_source.ipynb
+++ b/docs/io/optional/how_to_custom_source.ipynb
@@ -41,8 +41,8 @@
"import numpy as np\n",
"from tardis import constants as const\n",
"from astropy import units as u\n",
- "from tardis.montecarlo.packet_source import BlackBodySimpleSource\n",
- "from tardis.montecarlo.montecarlo_numba.packet_collections import (\n",
+ "from tardis.transport.montecarlo.packet_source import BlackBodySimpleSource\n",
+ "from tardis.transport.montecarlo.packet_collections import (\n",
" PacketCollection,\n",
")\n",
"from tardis import run_tardis\n",
diff --git a/docs/io/visualization/how_to_generating_widgets.ipynb b/docs/io/visualization/how_to_generating_widgets.ipynb
index aecb520aa88..86ed8bf7400 100644
--- a/docs/io/visualization/how_to_generating_widgets.ipynb
+++ b/docs/io/visualization/how_to_generating_widgets.ipynb
@@ -19,7 +19,7 @@
},
{
"cell_type": "code",
- "execution_count": 4,
+ "execution_count": null,
"metadata": {
"ExecuteTime": {
"end_time": "2021-02-18T16:10:42.838867Z",
@@ -27,1650 +27,7 @@
},
"scrolled": true
},
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "[\u001b[1mtardis.io.atom_data.atom_web_download\u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\tAtomic Data kurucz_cd23_chianti_H_He already exists in /home/afullard/Downloads/tardis-data/kurucz_cd23_chianti_H_He.h5. Will not download - override with force_download=True. (\u001b[1matom_web_download.py\u001b[0m:50)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tReading Atomic Data from kurucz_cd23_chianti_H_He.h5 (\u001b[1mbase.py\u001b[0m:679)\n",
- "[\u001b[1mtardis.io.atom_data.util\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tAtom Data kurucz_cd23_chianti_H_He.h5 not found in local path.\n",
- "\tExists in TARDIS Data repo /home/afullard/Downloads/tardis-data/kurucz_cd23_chianti_H_He.h5 (\u001b[1mutil.py\u001b[0m:36)\n",
- "[\u001b[1mtardis.io.atom_data.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\tReading Atom Data with: UUID = 6f7b09e887a311e7a06b246e96350010 MD5 = 864f1753714343c41f99cb065710cace (\u001b[1mbase.py\u001b[0m:258)\n",
- "[\u001b[1mtardis.io.atom_data.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\tNon provided Atomic Data: synpp_refs, photoionization_data, yg_data, two_photon_data, linelist (\u001b[1mbase.py\u001b[0m:262)\n",
- "[\u001b[1mtardis.model.parse_input\u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\tNumber of density points larger than number of shells. Assuming inner point irrelevant (\u001b[1mparse_input.py\u001b[0m:143)\n",
- "[\u001b[1mtardis.model.matter.decay\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\tDecaying abundances for 1123200.0 seconds (\u001b[1mdecay.py\u001b[0m:101)\n",
- "[\u001b[1mpy.warnings \u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\t/home/afullard/tardis/tardis/plasma/properties/radiative_properties.py:93: RuntimeWarning: invalid value encountered in divide\n",
- " (g_lower * n_upper) / (g_upper * n_lower)\n",
- " (\u001b[1mwarnings.py\u001b[0m:109)\n",
- "[\u001b[1mpy.warnings \u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\t/home/afullard/tardis/tardis/plasma/properties/radiative_properties.py:93: RuntimeWarning: invalid value encountered in divide\n",
- " (g_lower * n_upper) / (g_upper * n_lower)\n",
- " (\u001b[1mwarnings.py\u001b[0m:109)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tStarting iteration 1 of 20 (\u001b[1mbase.py\u001b[0m:395)\n"
- ]
- },
- {
- "data": {
- "application/vnd.jupyter.widget-view+json": {
- "model_id": "8cbc5b9e72df4af1a3faa896fc4f9cc0",
- "version_major": 2,
- "version_minor": 0
- },
- "text/plain": [
- "TqdmHBox(children=(HTML(value='Iterations:', layout=Layout(width='6%')), FloatProgress(value=0.0, layout=Layou…"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "data": {
- "application/vnd.jupyter.widget-view+json": {
- "model_id": "3436205cf9c3497c9f4850d94f1df39a",
- "version_major": 2,
- "version_minor": 0
- },
- "text/plain": [
- "TqdmHBox(children=(HTML(value='Packets: ', layout=Layout(width='6%')), FloatProgress(value=0.0, layout=Layou…"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tLuminosity emitted = 7.942e+42 erg / s\n",
- "\tLuminosity absorbed = 2.659e+42 erg / s\n",
- "\tLuminosity requested = 1.059e+43 erg / s\n",
- " (\u001b[1mbase.py\u001b[0m:577)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tPlasma stratification: (\u001b[1mbase.py\u001b[0m:545)\n"
- ]
- },
- {
- "data": {
- "text/html": [
- "\n",
- "
\n",
- " \n",
- " \n",
- " Shell No. | \n",
- " t_rad | \n",
- " next_t_rad | \n",
- " w | \n",
- " next_w | \n",
- "
\n",
- " \n",
- " \n",
- " \n",
- " 0 | \n",
- " 9.93e+03 K | \n",
- " 1.01e+04 K | \n",
- " 0.4 | \n",
- " 0.507 | \n",
- "
\n",
- " \n",
- " 5 | \n",
- " 9.85e+03 K | \n",
- " 1.02e+04 K | \n",
- " 0.211 | \n",
- " 0.197 | \n",
- "
\n",
- " \n",
- " 10 | \n",
- " 9.78e+03 K | \n",
- " 1.01e+04 K | \n",
- " 0.143 | \n",
- " 0.117 | \n",
- "
\n",
- " \n",
- " 15 | \n",
- " 9.71e+03 K | \n",
- " 9.87e+03 K | \n",
- " 0.105 | \n",
- " 0.0869 | \n",
- "
\n",
- " \n",
- "
\n"
- ],
- "text/plain": [
- ""
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tCurrent t_inner = 9933.952 K\n",
- "\tExpected t_inner for next iteration = 10703.212 K\n",
- " (\u001b[1mbase.py\u001b[0m:572)\n",
- "[\u001b[1mpy.warnings \u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\t/home/afullard/tardis/tardis/plasma/properties/radiative_properties.py:93: RuntimeWarning: invalid value encountered in divide\n",
- " (g_lower * n_upper) / (g_upper * n_lower)\n",
- " (\u001b[1mwarnings.py\u001b[0m:109)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tStarting iteration 2 of 20 (\u001b[1mbase.py\u001b[0m:395)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tLuminosity emitted = 1.071e+43 erg / s\n",
- "\tLuminosity absorbed = 3.576e+42 erg / s\n",
- "\tLuminosity requested = 1.059e+43 erg / s\n",
- " (\u001b[1mbase.py\u001b[0m:577)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tPlasma stratification: (\u001b[1mbase.py\u001b[0m:545)\n"
- ]
- },
- {
- "data": {
- "text/html": [
- "\n",
- "\n",
- " \n",
- " \n",
- " Shell No. | \n",
- " t_rad | \n",
- " next_t_rad | \n",
- " w | \n",
- " next_w | \n",
- "
\n",
- " \n",
- " \n",
- " \n",
- " 0 | \n",
- " 1.01e+04 K | \n",
- " 1.08e+04 K | \n",
- " 0.507 | \n",
- " 0.525 | \n",
- "
\n",
- " \n",
- " 5 | \n",
- " 1.02e+04 K | \n",
- " 1.1e+04 K | \n",
- " 0.197 | \n",
- " 0.203 | \n",
- "
\n",
- " \n",
- " 10 | \n",
- " 1.01e+04 K | \n",
- " 1.08e+04 K | \n",
- " 0.117 | \n",
- " 0.125 | \n",
- "
\n",
- " \n",
- " 15 | \n",
- " 9.87e+03 K | \n",
- " 1.05e+04 K | \n",
- " 0.0869 | \n",
- " 0.0933 | \n",
- "
\n",
- " \n",
- "
\n"
- ],
- "text/plain": [
- ""
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tCurrent t_inner = 10703.212 K\n",
- "\tExpected t_inner for next iteration = 10673.712 K\n",
- " (\u001b[1mbase.py\u001b[0m:572)\n",
- "[\u001b[1mpy.warnings \u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\t/home/afullard/tardis/tardis/plasma/properties/radiative_properties.py:93: RuntimeWarning: invalid value encountered in divide\n",
- " (g_lower * n_upper) / (g_upper * n_lower)\n",
- " (\u001b[1mwarnings.py\u001b[0m:109)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tStarting iteration 3 of 20 (\u001b[1mbase.py\u001b[0m:395)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tLuminosity emitted = 1.074e+43 erg / s\n",
- "\tLuminosity absorbed = 3.391e+42 erg / s\n",
- "\tLuminosity requested = 1.059e+43 erg / s\n",
- " (\u001b[1mbase.py\u001b[0m:577)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tPlasma stratification: (\u001b[1mbase.py\u001b[0m:545)\n"
- ]
- },
- {
- "data": {
- "text/html": [
- "\n",
- "\n",
- " \n",
- " \n",
- " Shell No. | \n",
- " t_rad | \n",
- " next_t_rad | \n",
- " w | \n",
- " next_w | \n",
- "
\n",
- " \n",
- " \n",
- " \n",
- " 0 | \n",
- " 1.08e+04 K | \n",
- " 1.1e+04 K | \n",
- " 0.525 | \n",
- " 0.483 | \n",
- "
\n",
- " \n",
- " 5 | \n",
- " 1.1e+04 K | \n",
- " 1.12e+04 K | \n",
- " 0.203 | \n",
- " 0.189 | \n",
- "
\n",
- " \n",
- " 10 | \n",
- " 1.08e+04 K | \n",
- " 1.1e+04 K | \n",
- " 0.125 | \n",
- " 0.118 | \n",
- "
\n",
- " \n",
- " 15 | \n",
- " 1.05e+04 K | \n",
- " 1.06e+04 K | \n",
- " 0.0933 | \n",
- " 0.0895 | \n",
- "
\n",
- " \n",
- "
\n"
- ],
- "text/plain": [
- ""
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tCurrent t_inner = 10673.712 K\n",
- "\tExpected t_inner for next iteration = 10635.953 K\n",
- " (\u001b[1mbase.py\u001b[0m:572)\n",
- "[\u001b[1mpy.warnings \u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\t/home/afullard/tardis/tardis/plasma/properties/radiative_properties.py:93: RuntimeWarning: invalid value encountered in divide\n",
- " (g_lower * n_upper) / (g_upper * n_lower)\n",
- " (\u001b[1mwarnings.py\u001b[0m:109)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tStarting iteration 4 of 20 (\u001b[1mbase.py\u001b[0m:395)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tLuminosity emitted = 1.058e+43 erg / s\n",
- "\tLuminosity absorbed = 3.352e+42 erg / s\n",
- "\tLuminosity requested = 1.059e+43 erg / s\n",
- " (\u001b[1mbase.py\u001b[0m:577)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tPlasma stratification: (\u001b[1mbase.py\u001b[0m:545)\n"
- ]
- },
- {
- "data": {
- "text/html": [
- "\n",
- "\n",
- " \n",
- " \n",
- " Shell No. | \n",
- " t_rad | \n",
- " next_t_rad | \n",
- " w | \n",
- " next_w | \n",
- "
\n",
- " \n",
- " \n",
- " \n",
- " 0 | \n",
- " 1.1e+04 K | \n",
- " 1.1e+04 K | \n",
- " 0.483 | \n",
- " 0.469 | \n",
- "
\n",
- " \n",
- " 5 | \n",
- " 1.12e+04 K | \n",
- " 1.12e+04 K | \n",
- " 0.189 | \n",
- " 0.182 | \n",
- "
\n",
- " \n",
- " 10 | \n",
- " 1.1e+04 K | \n",
- " 1.1e+04 K | \n",
- " 0.118 | \n",
- " 0.113 | \n",
- "
\n",
- " \n",
- " 15 | \n",
- " 1.06e+04 K | \n",
- " 1.07e+04 K | \n",
- " 0.0895 | \n",
- " 0.0861 | \n",
- "
\n",
- " \n",
- "
\n"
- ],
- "text/plain": [
- ""
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tCurrent t_inner = 10635.953 K\n",
- "\tExpected t_inner for next iteration = 10638.407 K\n",
- " (\u001b[1mbase.py\u001b[0m:572)\n",
- "[\u001b[1mpy.warnings \u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\t/home/afullard/tardis/tardis/plasma/properties/radiative_properties.py:93: RuntimeWarning: invalid value encountered in divide\n",
- " (g_lower * n_upper) / (g_upper * n_lower)\n",
- " (\u001b[1mwarnings.py\u001b[0m:109)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tStarting iteration 5 of 20 (\u001b[1mbase.py\u001b[0m:395)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tLuminosity emitted = 1.055e+43 erg / s\n",
- "\tLuminosity absorbed = 3.399e+42 erg / s\n",
- "\tLuminosity requested = 1.059e+43 erg / s\n",
- " (\u001b[1mbase.py\u001b[0m:577)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\tIteration converged 1/4 consecutive times. (\u001b[1mbase.py\u001b[0m:265)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tPlasma stratification: (\u001b[1mbase.py\u001b[0m:545)\n"
- ]
- },
- {
- "data": {
- "text/html": [
- "\n",
- "\n",
- " \n",
- " \n",
- " Shell No. | \n",
- " t_rad | \n",
- " next_t_rad | \n",
- " w | \n",
- " next_w | \n",
- "
\n",
- " \n",
- " \n",
- " \n",
- " 0 | \n",
- " 1.1e+04 K | \n",
- " 1.1e+04 K | \n",
- " 0.469 | \n",
- " 0.479 | \n",
- "
\n",
- " \n",
- " 5 | \n",
- " 1.12e+04 K | \n",
- " 1.13e+04 K | \n",
- " 0.182 | \n",
- " 0.178 | \n",
- "
\n",
- " \n",
- " 10 | \n",
- " 1.1e+04 K | \n",
- " 1.1e+04 K | \n",
- " 0.113 | \n",
- " 0.113 | \n",
- "
\n",
- " \n",
- " 15 | \n",
- " 1.07e+04 K | \n",
- " 1.07e+04 K | \n",
- " 0.0861 | \n",
- " 0.0839 | \n",
- "
\n",
- " \n",
- "
\n"
- ],
- "text/plain": [
- ""
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tCurrent t_inner = 10638.407 K\n",
- "\tExpected t_inner for next iteration = 10650.202 K\n",
- " (\u001b[1mbase.py\u001b[0m:572)\n",
- "[\u001b[1mpy.warnings \u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\t/home/afullard/tardis/tardis/plasma/properties/radiative_properties.py:93: RuntimeWarning: invalid value encountered in divide\n",
- " (g_lower * n_upper) / (g_upper * n_lower)\n",
- " (\u001b[1mwarnings.py\u001b[0m:109)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tStarting iteration 6 of 20 (\u001b[1mbase.py\u001b[0m:395)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tLuminosity emitted = 1.061e+43 erg / s\n",
- "\tLuminosity absorbed = 3.398e+42 erg / s\n",
- "\tLuminosity requested = 1.059e+43 erg / s\n",
- " (\u001b[1mbase.py\u001b[0m:577)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\tIteration converged 2/4 consecutive times. (\u001b[1mbase.py\u001b[0m:265)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tPlasma stratification: (\u001b[1mbase.py\u001b[0m:545)\n"
- ]
- },
- {
- "data": {
- "text/html": [
- "\n",
- "\n",
- " \n",
- " \n",
- " Shell No. | \n",
- " t_rad | \n",
- " next_t_rad | \n",
- " w | \n",
- " next_w | \n",
- "
\n",
- " \n",
- " \n",
- " \n",
- " 0 | \n",
- " 1.1e+04 K | \n",
- " 1.1e+04 K | \n",
- " 0.479 | \n",
- " 0.47 | \n",
- "
\n",
- " \n",
- " 5 | \n",
- " 1.13e+04 K | \n",
- " 1.12e+04 K | \n",
- " 0.178 | \n",
- " 0.185 | \n",
- "
\n",
- " \n",
- " 10 | \n",
- " 1.1e+04 K | \n",
- " 1.11e+04 K | \n",
- " 0.113 | \n",
- " 0.112 | \n",
- "
\n",
- " \n",
- " 15 | \n",
- " 1.07e+04 K | \n",
- " 1.07e+04 K | \n",
- " 0.0839 | \n",
- " 0.0856 | \n",
- "
\n",
- " \n",
- "
\n"
- ],
- "text/plain": [
- ""
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tCurrent t_inner = 10650.202 K\n",
- "\tExpected t_inner for next iteration = 10645.955 K\n",
- " (\u001b[1mbase.py\u001b[0m:572)\n",
- "[\u001b[1mpy.warnings \u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\t/home/afullard/tardis/tardis/plasma/properties/radiative_properties.py:93: RuntimeWarning: invalid value encountered in divide\n",
- " (g_lower * n_upper) / (g_upper * n_lower)\n",
- " (\u001b[1mwarnings.py\u001b[0m:109)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tStarting iteration 7 of 20 (\u001b[1mbase.py\u001b[0m:395)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tLuminosity emitted = 1.061e+43 erg / s\n",
- "\tLuminosity absorbed = 3.382e+42 erg / s\n",
- "\tLuminosity requested = 1.059e+43 erg / s\n",
- " (\u001b[1mbase.py\u001b[0m:577)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\tIteration converged 3/4 consecutive times. (\u001b[1mbase.py\u001b[0m:265)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tPlasma stratification: (\u001b[1mbase.py\u001b[0m:545)\n"
- ]
- },
- {
- "data": {
- "text/html": [
- "\n",
- "\n",
- " \n",
- " \n",
- " Shell No. | \n",
- " t_rad | \n",
- " next_t_rad | \n",
- " w | \n",
- " next_w | \n",
- "
\n",
- " \n",
- " \n",
- " \n",
- " 0 | \n",
- " 1.1e+04 K | \n",
- " 1.1e+04 K | \n",
- " 0.47 | \n",
- " 0.47 | \n",
- "
\n",
- " \n",
- " 5 | \n",
- " 1.12e+04 K | \n",
- " 1.13e+04 K | \n",
- " 0.185 | \n",
- " 0.178 | \n",
- "
\n",
- " \n",
- " 10 | \n",
- " 1.11e+04 K | \n",
- " 1.11e+04 K | \n",
- " 0.112 | \n",
- " 0.112 | \n",
- "
\n",
- " \n",
- " 15 | \n",
- " 1.07e+04 K | \n",
- " 1.07e+04 K | \n",
- " 0.0856 | \n",
- " 0.086 | \n",
- "
\n",
- " \n",
- "
\n"
- ],
- "text/plain": [
- ""
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tCurrent t_inner = 10645.955 K\n",
- "\tExpected t_inner for next iteration = 10642.050 K\n",
- " (\u001b[1mbase.py\u001b[0m:572)\n",
- "[\u001b[1mpy.warnings \u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\t/home/afullard/tardis/tardis/plasma/properties/radiative_properties.py:93: RuntimeWarning: invalid value encountered in divide\n",
- " (g_lower * n_upper) / (g_upper * n_lower)\n",
- " (\u001b[1mwarnings.py\u001b[0m:109)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tStarting iteration 8 of 20 (\u001b[1mbase.py\u001b[0m:395)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tLuminosity emitted = 1.062e+43 erg / s\n",
- "\tLuminosity absorbed = 3.350e+42 erg / s\n",
- "\tLuminosity requested = 1.059e+43 erg / s\n",
- " (\u001b[1mbase.py\u001b[0m:577)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\tIteration converged 4/4 consecutive times. (\u001b[1mbase.py\u001b[0m:265)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tPlasma stratification: (\u001b[1mbase.py\u001b[0m:545)\n"
- ]
- },
- {
- "data": {
- "text/html": [
- "\n",
- "\n",
- " \n",
- " \n",
- " Shell No. | \n",
- " t_rad | \n",
- " next_t_rad | \n",
- " w | \n",
- " next_w | \n",
- "
\n",
- " \n",
- " \n",
- " \n",
- " 0 | \n",
- " 1.1e+04 K | \n",
- " 1.11e+04 K | \n",
- " 0.47 | \n",
- " 0.472 | \n",
- "
\n",
- " \n",
- " 5 | \n",
- " 1.13e+04 K | \n",
- " 1.14e+04 K | \n",
- " 0.178 | \n",
- " 0.175 | \n",
- "
\n",
- " \n",
- " 10 | \n",
- " 1.11e+04 K | \n",
- " 1.11e+04 K | \n",
- " 0.112 | \n",
- " 0.111 | \n",
- "
\n",
- " \n",
- " 15 | \n",
- " 1.07e+04 K | \n",
- " 1.07e+04 K | \n",
- " 0.086 | \n",
- " 0.084 | \n",
- "
\n",
- " \n",
- "
\n"
- ],
- "text/plain": [
- ""
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tCurrent t_inner = 10642.050 K\n",
- "\tExpected t_inner for next iteration = 10636.106 K\n",
- " (\u001b[1mbase.py\u001b[0m:572)\n",
- "[\u001b[1mpy.warnings \u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\t/home/afullard/tardis/tardis/plasma/properties/radiative_properties.py:93: RuntimeWarning: invalid value encountered in divide\n",
- " (g_lower * n_upper) / (g_upper * n_lower)\n",
- " (\u001b[1mwarnings.py\u001b[0m:109)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tStarting iteration 9 of 20 (\u001b[1mbase.py\u001b[0m:395)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tLuminosity emitted = 1.052e+43 erg / s\n",
- "\tLuminosity absorbed = 3.411e+42 erg / s\n",
- "\tLuminosity requested = 1.059e+43 erg / s\n",
- " (\u001b[1mbase.py\u001b[0m:577)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\tIteration converged 5/4 consecutive times. (\u001b[1mbase.py\u001b[0m:265)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tPlasma stratification: (\u001b[1mbase.py\u001b[0m:545)\n"
- ]
- },
- {
- "data": {
- "text/html": [
- "\n",
- "\n",
- " \n",
- " \n",
- " Shell No. | \n",
- " t_rad | \n",
- " next_t_rad | \n",
- " w | \n",
- " next_w | \n",
- "
\n",
- " \n",
- " \n",
- " \n",
- " 0 | \n",
- " 1.11e+04 K | \n",
- " 1.11e+04 K | \n",
- " 0.472 | \n",
- " 0.469 | \n",
- "
\n",
- " \n",
- " 5 | \n",
- " 1.14e+04 K | \n",
- " 1.15e+04 K | \n",
- " 0.175 | \n",
- " 0.17 | \n",
- "
\n",
- " \n",
- " 10 | \n",
- " 1.11e+04 K | \n",
- " 1.11e+04 K | \n",
- " 0.111 | \n",
- " 0.109 | \n",
- "
\n",
- " \n",
- " 15 | \n",
- " 1.07e+04 K | \n",
- " 1.08e+04 K | \n",
- " 0.084 | \n",
- " 0.0822 | \n",
- "
\n",
- " \n",
- "
\n"
- ],
- "text/plain": [
- ""
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tCurrent t_inner = 10636.106 K\n",
- "\tExpected t_inner for next iteration = 10654.313 K\n",
- " (\u001b[1mbase.py\u001b[0m:572)\n",
- "[\u001b[1mpy.warnings \u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\t/home/afullard/tardis/tardis/plasma/properties/radiative_properties.py:93: RuntimeWarning: invalid value encountered in divide\n",
- " (g_lower * n_upper) / (g_upper * n_lower)\n",
- " (\u001b[1mwarnings.py\u001b[0m:109)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tStarting iteration 10 of 20 (\u001b[1mbase.py\u001b[0m:395)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tLuminosity emitted = 1.070e+43 erg / s\n",
- "\tLuminosity absorbed = 3.335e+42 erg / s\n",
- "\tLuminosity requested = 1.059e+43 erg / s\n",
- " (\u001b[1mbase.py\u001b[0m:577)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tPlasma stratification: (\u001b[1mbase.py\u001b[0m:545)\n"
- ]
- },
- {
- "data": {
- "text/html": [
- "\n",
- "\n",
- " \n",
- " \n",
- " Shell No. | \n",
- " t_rad | \n",
- " next_t_rad | \n",
- " w | \n",
- " next_w | \n",
- "
\n",
- " \n",
- " \n",
- " \n",
- " 0 | \n",
- " 1.11e+04 K | \n",
- " 1.1e+04 K | \n",
- " 0.469 | \n",
- " 0.475 | \n",
- "
\n",
- " \n",
- " 5 | \n",
- " 1.15e+04 K | \n",
- " 1.14e+04 K | \n",
- " 0.17 | \n",
- " 0.177 | \n",
- "
\n",
- " \n",
- " 10 | \n",
- " 1.11e+04 K | \n",
- " 1.11e+04 K | \n",
- " 0.109 | \n",
- " 0.112 | \n",
- "
\n",
- " \n",
- " 15 | \n",
- " 1.08e+04 K | \n",
- " 1.06e+04 K | \n",
- " 0.0822 | \n",
- " 0.0878 | \n",
- "
\n",
- " \n",
- "
\n"
- ],
- "text/plain": [
- ""
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tCurrent t_inner = 10654.313 K\n",
- "\tExpected t_inner for next iteration = 10628.190 K\n",
- " (\u001b[1mbase.py\u001b[0m:572)\n",
- "[\u001b[1mpy.warnings \u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\t/home/afullard/tardis/tardis/plasma/properties/radiative_properties.py:93: RuntimeWarning: invalid value encountered in divide\n",
- " (g_lower * n_upper) / (g_upper * n_lower)\n",
- " (\u001b[1mwarnings.py\u001b[0m:109)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tStarting iteration 11 of 20 (\u001b[1mbase.py\u001b[0m:395)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tLuminosity emitted = 1.053e+43 erg / s\n",
- "\tLuminosity absorbed = 3.363e+42 erg / s\n",
- "\tLuminosity requested = 1.059e+43 erg / s\n",
- " (\u001b[1mbase.py\u001b[0m:577)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\tIteration converged 1/4 consecutive times. (\u001b[1mbase.py\u001b[0m:265)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tPlasma stratification: (\u001b[1mbase.py\u001b[0m:545)\n"
- ]
- },
- {
- "data": {
- "text/html": [
- "\n",
- "\n",
- " \n",
- " \n",
- " Shell No. | \n",
- " t_rad | \n",
- " next_t_rad | \n",
- " w | \n",
- " next_w | \n",
- "
\n",
- " \n",
- " \n",
- " \n",
- " 0 | \n",
- " 1.1e+04 K | \n",
- " 1.1e+04 K | \n",
- " 0.475 | \n",
- " 0.472 | \n",
- "
\n",
- " \n",
- " 5 | \n",
- " 1.14e+04 K | \n",
- " 1.12e+04 K | \n",
- " 0.177 | \n",
- " 0.184 | \n",
- "
\n",
- " \n",
- " 10 | \n",
- " 1.11e+04 K | \n",
- " 1.1e+04 K | \n",
- " 0.112 | \n",
- " 0.114 | \n",
- "
\n",
- " \n",
- " 15 | \n",
- " 1.06e+04 K | \n",
- " 1.06e+04 K | \n",
- " 0.0878 | \n",
- " 0.0859 | \n",
- "
\n",
- " \n",
- "
\n"
- ],
- "text/plain": [
- ""
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tCurrent t_inner = 10628.190 K\n",
- "\tExpected t_inner for next iteration = 10644.054 K\n",
- " (\u001b[1mbase.py\u001b[0m:572)\n",
- "[\u001b[1mpy.warnings \u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\t/home/afullard/tardis/tardis/plasma/properties/radiative_properties.py:93: RuntimeWarning: invalid value encountered in divide\n",
- " (g_lower * n_upper) / (g_upper * n_lower)\n",
- " (\u001b[1mwarnings.py\u001b[0m:109)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tStarting iteration 12 of 20 (\u001b[1mbase.py\u001b[0m:395)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tLuminosity emitted = 1.056e+43 erg / s\n",
- "\tLuminosity absorbed = 3.420e+42 erg / s\n",
- "\tLuminosity requested = 1.059e+43 erg / s\n",
- " (\u001b[1mbase.py\u001b[0m:577)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tPlasma stratification: (\u001b[1mbase.py\u001b[0m:545)\n"
- ]
- },
- {
- "data": {
- "text/html": [
- "\n",
- "\n",
- " \n",
- " \n",
- " Shell No. | \n",
- " t_rad | \n",
- " next_t_rad | \n",
- " w | \n",
- " next_w | \n",
- "
\n",
- " \n",
- " \n",
- " \n",
- " 0 | \n",
- " 1.1e+04 K | \n",
- " 1.11e+04 K | \n",
- " 0.472 | \n",
- " 0.467 | \n",
- "
\n",
- " \n",
- " 5 | \n",
- " 1.12e+04 K | \n",
- " 1.13e+04 K | \n",
- " 0.184 | \n",
- " 0.176 | \n",
- "
\n",
- " \n",
- " 10 | \n",
- " 1.1e+04 K | \n",
- " 1.11e+04 K | \n",
- " 0.114 | \n",
- " 0.11 | \n",
- "
\n",
- " \n",
- " 15 | \n",
- " 1.06e+04 K | \n",
- " 1.08e+04 K | \n",
- " 0.0859 | \n",
- " 0.0821 | \n",
- "
\n",
- " \n",
- "
\n"
- ],
- "text/plain": [
- ""
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tCurrent t_inner = 10644.054 K\n",
- "\tExpected t_inner for next iteration = 10653.543 K\n",
- " (\u001b[1mbase.py\u001b[0m:572)\n",
- "[\u001b[1mpy.warnings \u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\t/home/afullard/tardis/tardis/plasma/properties/radiative_properties.py:93: RuntimeWarning: invalid value encountered in divide\n",
- " (g_lower * n_upper) / (g_upper * n_lower)\n",
- " (\u001b[1mwarnings.py\u001b[0m:109)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tStarting iteration 13 of 20 (\u001b[1mbase.py\u001b[0m:395)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tLuminosity emitted = 1.062e+43 erg / s\n",
- "\tLuminosity absorbed = 3.406e+42 erg / s\n",
- "\tLuminosity requested = 1.059e+43 erg / s\n",
- " (\u001b[1mbase.py\u001b[0m:577)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\tIteration converged 1/4 consecutive times. (\u001b[1mbase.py\u001b[0m:265)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tPlasma stratification: (\u001b[1mbase.py\u001b[0m:545)\n"
- ]
- },
- {
- "data": {
- "text/html": [
- "\n",
- "\n",
- " \n",
- " \n",
- " Shell No. | \n",
- " t_rad | \n",
- " next_t_rad | \n",
- " w | \n",
- " next_w | \n",
- "
\n",
- " \n",
- " \n",
- " \n",
- " 0 | \n",
- " 1.11e+04 K | \n",
- " 1.11e+04 K | \n",
- " 0.467 | \n",
- " 0.466 | \n",
- "
\n",
- " \n",
- " 5 | \n",
- " 1.13e+04 K | \n",
- " 1.13e+04 K | \n",
- " 0.176 | \n",
- " 0.18 | \n",
- "
\n",
- " \n",
- " 10 | \n",
- " 1.11e+04 K | \n",
- " 1.11e+04 K | \n",
- " 0.11 | \n",
- " 0.111 | \n",
- "
\n",
- " \n",
- " 15 | \n",
- " 1.08e+04 K | \n",
- " 1.08e+04 K | \n",
- " 0.0821 | \n",
- " 0.0841 | \n",
- "
\n",
- " \n",
- "
\n"
- ],
- "text/plain": [
- ""
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tCurrent t_inner = 10653.543 K\n",
- "\tExpected t_inner for next iteration = 10647.277 K\n",
- " (\u001b[1mbase.py\u001b[0m:572)\n",
- "[\u001b[1mpy.warnings \u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\t/home/afullard/tardis/tardis/plasma/properties/radiative_properties.py:93: RuntimeWarning: invalid value encountered in divide\n",
- " (g_lower * n_upper) / (g_upper * n_lower)\n",
- " (\u001b[1mwarnings.py\u001b[0m:109)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tStarting iteration 14 of 20 (\u001b[1mbase.py\u001b[0m:395)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tLuminosity emitted = 1.063e+43 erg / s\n",
- "\tLuminosity absorbed = 3.369e+42 erg / s\n",
- "\tLuminosity requested = 1.059e+43 erg / s\n",
- " (\u001b[1mbase.py\u001b[0m:577)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\tIteration converged 2/4 consecutive times. (\u001b[1mbase.py\u001b[0m:265)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tPlasma stratification: (\u001b[1mbase.py\u001b[0m:545)\n"
- ]
- },
- {
- "data": {
- "text/html": [
- "\n",
- "\n",
- " \n",
- " \n",
- " Shell No. | \n",
- " t_rad | \n",
- " next_t_rad | \n",
- " w | \n",
- " next_w | \n",
- "
\n",
- " \n",
- " \n",
- " \n",
- " 0 | \n",
- " 1.11e+04 K | \n",
- " 1.11e+04 K | \n",
- " 0.466 | \n",
- " 0.469 | \n",
- "
\n",
- " \n",
- " 5 | \n",
- " 1.13e+04 K | \n",
- " 1.13e+04 K | \n",
- " 0.18 | \n",
- " 0.182 | \n",
- "
\n",
- " \n",
- " 10 | \n",
- " 1.11e+04 K | \n",
- " 1.1e+04 K | \n",
- " 0.111 | \n",
- " 0.113 | \n",
- "
\n",
- " \n",
- " 15 | \n",
- " 1.08e+04 K | \n",
- " 1.07e+04 K | \n",
- " 0.0841 | \n",
- " 0.0854 | \n",
- "
\n",
- " \n",
- "
\n"
- ],
- "text/plain": [
- ""
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tCurrent t_inner = 10647.277 K\n",
- "\tExpected t_inner for next iteration = 10638.875 K\n",
- " (\u001b[1mbase.py\u001b[0m:572)\n",
- "[\u001b[1mpy.warnings \u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\t/home/afullard/tardis/tardis/plasma/properties/radiative_properties.py:93: RuntimeWarning: invalid value encountered in divide\n",
- " (g_lower * n_upper) / (g_upper * n_lower)\n",
- " (\u001b[1mwarnings.py\u001b[0m:109)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tStarting iteration 15 of 20 (\u001b[1mbase.py\u001b[0m:395)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tLuminosity emitted = 1.053e+43 erg / s\n",
- "\tLuminosity absorbed = 3.417e+42 erg / s\n",
- "\tLuminosity requested = 1.059e+43 erg / s\n",
- " (\u001b[1mbase.py\u001b[0m:577)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\tIteration converged 3/4 consecutive times. (\u001b[1mbase.py\u001b[0m:265)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tPlasma stratification: (\u001b[1mbase.py\u001b[0m:545)\n"
- ]
- },
- {
- "data": {
- "text/html": [
- "\n",
- "\n",
- " \n",
- " \n",
- " Shell No. | \n",
- " t_rad | \n",
- " next_t_rad | \n",
- " w | \n",
- " next_w | \n",
- "
\n",
- " \n",
- " \n",
- " \n",
- " 0 | \n",
- " 1.11e+04 K | \n",
- " 1.1e+04 K | \n",
- " 0.469 | \n",
- " 0.484 | \n",
- "
\n",
- " \n",
- " 5 | \n",
- " 1.13e+04 K | \n",
- " 1.13e+04 K | \n",
- " 0.182 | \n",
- " 0.181 | \n",
- "
\n",
- " \n",
- " 10 | \n",
- " 1.1e+04 K | \n",
- " 1.1e+04 K | \n",
- " 0.113 | \n",
- " 0.113 | \n",
- "
\n",
- " \n",
- " 15 | \n",
- " 1.07e+04 K | \n",
- " 1.07e+04 K | \n",
- " 0.0854 | \n",
- " 0.0858 | \n",
- "
\n",
- " \n",
- "
\n"
- ],
- "text/plain": [
- ""
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tCurrent t_inner = 10638.875 K\n",
- "\tExpected t_inner for next iteration = 10655.125 K\n",
- " (\u001b[1mbase.py\u001b[0m:572)\n",
- "[\u001b[1mpy.warnings \u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\t/home/afullard/tardis/tardis/plasma/properties/radiative_properties.py:93: RuntimeWarning: invalid value encountered in divide\n",
- " (g_lower * n_upper) / (g_upper * n_lower)\n",
- " (\u001b[1mwarnings.py\u001b[0m:109)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tStarting iteration 16 of 20 (\u001b[1mbase.py\u001b[0m:395)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tLuminosity emitted = 1.059e+43 erg / s\n",
- "\tLuminosity absorbed = 3.445e+42 erg / s\n",
- "\tLuminosity requested = 1.059e+43 erg / s\n",
- " (\u001b[1mbase.py\u001b[0m:577)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\tIteration converged 4/4 consecutive times. (\u001b[1mbase.py\u001b[0m:265)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tPlasma stratification: (\u001b[1mbase.py\u001b[0m:545)\n"
- ]
- },
- {
- "data": {
- "text/html": [
- "\n",
- "\n",
- " \n",
- " \n",
- " Shell No. | \n",
- " t_rad | \n",
- " next_t_rad | \n",
- " w | \n",
- " next_w | \n",
- "
\n",
- " \n",
- " \n",
- " \n",
- " 0 | \n",
- " 1.1e+04 K | \n",
- " 1.1e+04 K | \n",
- " 0.484 | \n",
- " 0.472 | \n",
- "
\n",
- " \n",
- " 5 | \n",
- " 1.13e+04 K | \n",
- " 1.13e+04 K | \n",
- " 0.181 | \n",
- " 0.177 | \n",
- "
\n",
- " \n",
- " 10 | \n",
- " 1.1e+04 K | \n",
- " 1.1e+04 K | \n",
- " 0.113 | \n",
- " 0.113 | \n",
- "
\n",
- " \n",
- " 15 | \n",
- " 1.07e+04 K | \n",
- " 1.06e+04 K | \n",
- " 0.0858 | \n",
- " 0.0858 | \n",
- "
\n",
- " \n",
- "
\n"
- ],
- "text/plain": [
- ""
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tCurrent t_inner = 10655.125 K\n",
- "\tExpected t_inner for next iteration = 10655.561 K\n",
- " (\u001b[1mbase.py\u001b[0m:572)\n",
- "[\u001b[1mpy.warnings \u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\t/home/afullard/tardis/tardis/plasma/properties/radiative_properties.py:93: RuntimeWarning: invalid value encountered in divide\n",
- " (g_lower * n_upper) / (g_upper * n_lower)\n",
- " (\u001b[1mwarnings.py\u001b[0m:109)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tStarting iteration 17 of 20 (\u001b[1mbase.py\u001b[0m:395)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tLuminosity emitted = 1.067e+43 erg / s\n",
- "\tLuminosity absorbed = 3.372e+42 erg / s\n",
- "\tLuminosity requested = 1.059e+43 erg / s\n",
- " (\u001b[1mbase.py\u001b[0m:577)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tPlasma stratification: (\u001b[1mbase.py\u001b[0m:545)\n"
- ]
- },
- {
- "data": {
- "text/html": [
- "\n",
- "\n",
- " \n",
- " \n",
- " Shell No. | \n",
- " t_rad | \n",
- " next_t_rad | \n",
- " w | \n",
- " next_w | \n",
- "
\n",
- " \n",
- " \n",
- " \n",
- " 0 | \n",
- " 1.1e+04 K | \n",
- " 1.11e+04 K | \n",
- " 0.472 | \n",
- " 0.468 | \n",
- "
\n",
- " \n",
- " 5 | \n",
- " 1.13e+04 K | \n",
- " 1.14e+04 K | \n",
- " 0.177 | \n",
- " 0.175 | \n",
- "
\n",
- " \n",
- " 10 | \n",
- " 1.1e+04 K | \n",
- " 1.11e+04 K | \n",
- " 0.113 | \n",
- " 0.11 | \n",
- "
\n",
- " \n",
- " 15 | \n",
- " 1.06e+04 K | \n",
- " 1.08e+04 K | \n",
- " 0.0858 | \n",
- " 0.0816 | \n",
- "
\n",
- " \n",
- "
\n"
- ],
- "text/plain": [
- ""
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tCurrent t_inner = 10655.561 K\n",
- "\tExpected t_inner for next iteration = 10636.536 K\n",
- " (\u001b[1mbase.py\u001b[0m:572)\n",
- "[\u001b[1mpy.warnings \u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\t/home/afullard/tardis/tardis/plasma/properties/radiative_properties.py:93: RuntimeWarning: invalid value encountered in divide\n",
- " (g_lower * n_upper) / (g_upper * n_lower)\n",
- " (\u001b[1mwarnings.py\u001b[0m:109)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tStarting iteration 18 of 20 (\u001b[1mbase.py\u001b[0m:395)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tLuminosity emitted = 1.057e+43 erg / s\n",
- "\tLuminosity absorbed = 3.365e+42 erg / s\n",
- "\tLuminosity requested = 1.059e+43 erg / s\n",
- " (\u001b[1mbase.py\u001b[0m:577)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\tIteration converged 1/4 consecutive times. (\u001b[1mbase.py\u001b[0m:265)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tPlasma stratification: (\u001b[1mbase.py\u001b[0m:545)\n"
- ]
- },
- {
- "data": {
- "text/html": [
- "\n",
- "\n",
- " \n",
- " \n",
- " Shell No. | \n",
- " t_rad | \n",
- " next_t_rad | \n",
- " w | \n",
- " next_w | \n",
- "
\n",
- " \n",
- " \n",
- " \n",
- " 0 | \n",
- " 1.11e+04 K | \n",
- " 1.11e+04 K | \n",
- " 0.468 | \n",
- " 0.464 | \n",
- "
\n",
- " \n",
- " 5 | \n",
- " 1.14e+04 K | \n",
- " 1.13e+04 K | \n",
- " 0.175 | \n",
- " 0.177 | \n",
- "
\n",
- " \n",
- " 10 | \n",
- " 1.11e+04 K | \n",
- " 1.1e+04 K | \n",
- " 0.11 | \n",
- " 0.113 | \n",
- "
\n",
- " \n",
- " 15 | \n",
- " 1.08e+04 K | \n",
- " 1.07e+04 K | \n",
- " 0.0816 | \n",
- " 0.0848 | \n",
- "
\n",
- " \n",
- "
\n"
- ],
- "text/plain": [
- ""
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tCurrent t_inner = 10636.536 K\n",
- "\tExpected t_inner for next iteration = 10641.692 K\n",
- " (\u001b[1mbase.py\u001b[0m:572)\n",
- "[\u001b[1mpy.warnings \u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\t/home/afullard/tardis/tardis/plasma/properties/radiative_properties.py:93: RuntimeWarning: invalid value encountered in divide\n",
- " (g_lower * n_upper) / (g_upper * n_lower)\n",
- " (\u001b[1mwarnings.py\u001b[0m:109)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tStarting iteration 19 of 20 (\u001b[1mbase.py\u001b[0m:395)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tLuminosity emitted = 1.056e+43 erg / s\n",
- "\tLuminosity absorbed = 3.405e+42 erg / s\n",
- "\tLuminosity requested = 1.059e+43 erg / s\n",
- " (\u001b[1mbase.py\u001b[0m:577)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\tIteration converged 2/4 consecutive times. (\u001b[1mbase.py\u001b[0m:265)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tPlasma stratification: (\u001b[1mbase.py\u001b[0m:545)\n"
- ]
- },
- {
- "data": {
- "text/html": [
- "\n",
- "\n",
- " \n",
- " \n",
- " Shell No. | \n",
- " t_rad | \n",
- " next_t_rad | \n",
- " w | \n",
- " next_w | \n",
- "
\n",
- " \n",
- " \n",
- " \n",
- " 0 | \n",
- " 1.11e+04 K | \n",
- " 1.11e+04 K | \n",
- " 0.464 | \n",
- " 0.466 | \n",
- "
\n",
- " \n",
- " 5 | \n",
- " 1.13e+04 K | \n",
- " 1.13e+04 K | \n",
- " 0.177 | \n",
- " 0.177 | \n",
- "
\n",
- " \n",
- " 10 | \n",
- " 1.1e+04 K | \n",
- " 1.11e+04 K | \n",
- " 0.113 | \n",
- " 0.111 | \n",
- "
\n",
- " \n",
- " 15 | \n",
- " 1.07e+04 K | \n",
- " 1.07e+04 K | \n",
- " 0.0848 | \n",
- " 0.0853 | \n",
- "
\n",
- " \n",
- "
\n"
- ],
- "text/plain": [
- ""
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tCurrent t_inner = 10641.692 K\n",
- "\tExpected t_inner for next iteration = 10650.463 K\n",
- " (\u001b[1mbase.py\u001b[0m:572)\n",
- "[\u001b[1mpy.warnings \u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\t/home/afullard/tardis/tardis/plasma/properties/radiative_properties.py:93: RuntimeWarning: invalid value encountered in divide\n",
- " (g_lower * n_upper) / (g_upper * n_lower)\n",
- " (\u001b[1mwarnings.py\u001b[0m:109)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tSimulation finished in 19 iterations \n",
- "\tSimulation took 10.35 s\n",
- " (\u001b[1mbase.py\u001b[0m:473)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tStarting iteration 20 of 20 (\u001b[1mbase.py\u001b[0m:395)\n",
- "[\u001b[1mtardis.simulation.base\u001b[0m][\u001b[1;37mINFO\u001b[0m ] \n",
- "\t\n",
- "\tLuminosity emitted = 1.061e+43 erg / s\n",
- "\tLuminosity absorbed = 3.401e+42 erg / s\n",
- "\tLuminosity requested = 1.059e+43 erg / s\n",
- " (\u001b[1mbase.py\u001b[0m:577)\n"
- ]
- }
- ],
+ "outputs": [],
"source": [
"from tardis import run_tardis\n",
"from tardis.io.atom_data.util import download_atom_data\n",
@@ -1690,7 +47,7 @@
},
{
"cell_type": "code",
- "execution_count": 5,
+ "execution_count": null,
"metadata": {
"ExecuteTime": {
"end_time": "2021-02-18T17:29:30.986893Z",
@@ -1729,7 +86,7 @@
},
{
"cell_type": "code",
- "execution_count": 6,
+ "execution_count": null,
"metadata": {
"ExecuteTime": {
"end_time": "2021-02-18T16:11:15.097803Z",
@@ -1737,32 +94,7 @@
},
"scrolled": true
},
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "[\u001b[1mpy.warnings \u001b[0m][\u001b[1;33mWARNING\u001b[0m] \n",
- "\t/home/afullard/tardis/tardis/visualization/widgets/shell_info.py:76: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
- " return shells_temp_w.applymap(lambda x: f\"{x:.6e}\")\n",
- " (\u001b[1mwarnings.py\u001b[0m:109)\n"
- ]
- },
- {
- "data": {
- "application/vnd.jupyter.widget-view+json": {
- "model_id": "728c6402d5c3402ca238b6c2b193ae17",
- "version_major": 2,
- "version_minor": 0
- },
- "text/plain": [
- "VBox(children=(HTML(value='Frac. Ab. denotes Fractional Abundances (i.e all values sum to 1)
…"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- }
- ],
+ "outputs": [],
"source": [
"shell_info_widget = shell_info_from_simulation(sim)\n",
"shell_info_widget.display()"
@@ -1909,9 +241,9 @@
],
"metadata": {
"kernelspec": {
- "display_name": "Python [conda env:mambaforge-tardis]",
+ "display_name": "tardis",
"language": "python",
- "name": "conda-env-mambaforge-tardis-py"
+ "name": "python3"
},
"language_info": {
"codemirror_mode": {
diff --git a/docs/physics/montecarlo/initialization.ipynb b/docs/physics/montecarlo/initialization.ipynb
index 2a2071b15fe..63ebff07f84 100644
--- a/docs/physics/montecarlo/initialization.ipynb
+++ b/docs/physics/montecarlo/initialization.ipynb
@@ -78,8 +78,8 @@
"outputs": [],
"source": [
"import numpy as np\n",
- "from tardis.montecarlo.packet_source import BlackBodySimpleSource\n",
- "from tardis.montecarlo.montecarlo_numba.packet_collections import (\n",
+ "from tardis.transport.montecarlo.packet_source import BlackBodySimpleSource\n",
+ "from tardis.transport.montecarlo.packet_collections import (\n",
" PacketCollection,\n",
")\n",
"from astropy import units as u\n",
diff --git a/docs/physics/spectrum/basic.ipynb b/docs/physics/spectrum/basic.ipynb
index 2ac6c24799f..95ccb7f7ce7 100644
--- a/docs/physics/spectrum/basic.ipynb
+++ b/docs/physics/spectrum/basic.ipynb
@@ -47,7 +47,7 @@
"source": [
"from tardis.io.configuration.config_reader import Configuration\n",
"from tardis.simulation import Simulation\n",
- "from tardis.montecarlo.spectrum import TARDISSpectrum\n",
+ "from tardis.transport.montecarlo.spectrum import TARDISSpectrum\n",
"from tardis.io.atom_data.util import download_atom_data\n",
"from astropy import units as u\n",
"import numpy as np\n",