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", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Shell No.t_radnext_t_radwnext_w
09.93e+03 K1.01e+04 K0.40.507
59.85e+03 K1.02e+04 K0.2110.197
109.78e+03 K1.01e+04 K0.1430.117
159.71e+03 K9.87e+03 K0.1050.0869
\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", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Shell No.t_radnext_t_radwnext_w
01.01e+04 K1.08e+04 K0.5070.525
51.02e+04 K1.1e+04 K0.1970.203
101.01e+04 K1.08e+04 K0.1170.125
159.87e+03 K1.05e+04 K0.08690.0933
\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", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Shell No.t_radnext_t_radwnext_w
01.08e+04 K1.1e+04 K0.5250.483
51.1e+04 K1.12e+04 K0.2030.189
101.08e+04 K1.1e+04 K0.1250.118
151.05e+04 K1.06e+04 K0.09330.0895
\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", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Shell No.t_radnext_t_radwnext_w
01.1e+04 K1.1e+04 K0.4830.469
51.12e+04 K1.12e+04 K0.1890.182
101.1e+04 K1.1e+04 K0.1180.113
151.06e+04 K1.07e+04 K0.08950.0861
\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", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Shell No.t_radnext_t_radwnext_w
01.1e+04 K1.1e+04 K0.4690.479
51.12e+04 K1.13e+04 K0.1820.178
101.1e+04 K1.1e+04 K0.1130.113
151.07e+04 K1.07e+04 K0.08610.0839
\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", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Shell No.t_radnext_t_radwnext_w
01.1e+04 K1.1e+04 K0.4790.47
51.13e+04 K1.12e+04 K0.1780.185
101.1e+04 K1.11e+04 K0.1130.112
151.07e+04 K1.07e+04 K0.08390.0856
\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", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Shell No.t_radnext_t_radwnext_w
01.1e+04 K1.1e+04 K0.470.47
51.12e+04 K1.13e+04 K0.1850.178
101.11e+04 K1.11e+04 K0.1120.112
151.07e+04 K1.07e+04 K0.08560.086
\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", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Shell No.t_radnext_t_radwnext_w
01.1e+04 K1.11e+04 K0.470.472
51.13e+04 K1.14e+04 K0.1780.175
101.11e+04 K1.11e+04 K0.1120.111
151.07e+04 K1.07e+04 K0.0860.084
\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", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Shell No.t_radnext_t_radwnext_w
01.11e+04 K1.11e+04 K0.4720.469
51.14e+04 K1.15e+04 K0.1750.17
101.11e+04 K1.11e+04 K0.1110.109
151.07e+04 K1.08e+04 K0.0840.0822
\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", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Shell No.t_radnext_t_radwnext_w
01.11e+04 K1.1e+04 K0.4690.475
51.15e+04 K1.14e+04 K0.170.177
101.11e+04 K1.11e+04 K0.1090.112
151.08e+04 K1.06e+04 K0.08220.0878
\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", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Shell No.t_radnext_t_radwnext_w
01.1e+04 K1.1e+04 K0.4750.472
51.14e+04 K1.12e+04 K0.1770.184
101.11e+04 K1.1e+04 K0.1120.114
151.06e+04 K1.06e+04 K0.08780.0859
\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", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Shell No.t_radnext_t_radwnext_w
01.1e+04 K1.11e+04 K0.4720.467
51.12e+04 K1.13e+04 K0.1840.176
101.1e+04 K1.11e+04 K0.1140.11
151.06e+04 K1.08e+04 K0.08590.0821
\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", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Shell No.t_radnext_t_radwnext_w
01.11e+04 K1.11e+04 K0.4670.466
51.13e+04 K1.13e+04 K0.1760.18
101.11e+04 K1.11e+04 K0.110.111
151.08e+04 K1.08e+04 K0.08210.0841
\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", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Shell No.t_radnext_t_radwnext_w
01.11e+04 K1.11e+04 K0.4660.469
51.13e+04 K1.13e+04 K0.180.182
101.11e+04 K1.1e+04 K0.1110.113
151.08e+04 K1.07e+04 K0.08410.0854
\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", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Shell No.t_radnext_t_radwnext_w
01.11e+04 K1.1e+04 K0.4690.484
51.13e+04 K1.13e+04 K0.1820.181
101.1e+04 K1.1e+04 K0.1130.113
151.07e+04 K1.07e+04 K0.08540.0858
\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", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Shell No.t_radnext_t_radwnext_w
01.1e+04 K1.1e+04 K0.4840.472
51.13e+04 K1.13e+04 K0.1810.177
101.1e+04 K1.1e+04 K0.1130.113
151.07e+04 K1.06e+04 K0.08580.0858
\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", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Shell No.t_radnext_t_radwnext_w
01.1e+04 K1.11e+04 K0.4720.468
51.13e+04 K1.14e+04 K0.1770.175
101.1e+04 K1.11e+04 K0.1130.11
151.06e+04 K1.08e+04 K0.08580.0816
\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", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Shell No.t_radnext_t_radwnext_w
01.11e+04 K1.11e+04 K0.4680.464
51.14e+04 K1.13e+04 K0.1750.177
101.11e+04 K1.1e+04 K0.110.113
151.08e+04 K1.07e+04 K0.08160.0848
\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", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Shell No.t_radnext_t_radwnext_w
01.11e+04 K1.11e+04 K0.4640.466
51.13e+04 K1.13e+04 K0.1770.177
101.1e+04 K1.11e+04 K0.1130.111
151.07e+04 K1.07e+04 K0.08480.0853
\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",