{ "cells": [ { "cell_type": "markdown", "id": "d5f95feb", "metadata": {}, "source": [ "# Convergence Plots" ] }, { "cell_type": "markdown", "id": "4a9733ff", "metadata": {}, "source": [ "These convergence plots help diagnose the quality of TARDIS simulation results:\n", "\n", "The **plasma plots** show radiation temperature and dilution factor across velocity space, indicating when the radiation field reaches equilibrium throughout the ejecta. When lines stop changing between iterations, physical conditions have converged.\n", "\n", "The **luminosity plots** track:\n", "- Inner boundary temperature stabilization\n", "- Whether emitted luminosity matches requested luminosity (energy conservation)\n", "- Residual luminosity percentage (ideally <5%)\n", "\n", "Properly converged plots indicate your synthetic spectrum is based on a physically self-consistent model, making it reliable for comparison with observed supernova spectra. Poor convergence suggests you may need to adjust model parameters or extend the number of iterations." ] }, { "cell_type": "markdown", "id": "dc1a0c1f", "metadata": {}, "source": [ "The Convergence Plots consist of two Plotly FigureWidget Subplots, the `plasma_plot` and the `t_inner_luminosities_plot`. The plots can be displayed by setting the `show_convergence_plots` option in the `run_tardis` function to `True`. The plots are stored in the `convergence_plots` attribute of the simulation object `sim` and can be accessed using `sim.convergence_plots.plasma_plot` and `sim.convergence_plots.t_inner_luminosities_plot`." ] }, { "cell_type": "markdown", "id": "6db4edf2", "metadata": {}, "source": [ "