diff --git a/docs/Tutorials/Mesa_model.ipynb b/docs/Tutorials/Mesa_model.ipynb index b78a721a..0f7b0f22 100644 --- a/docs/Tutorials/Mesa_model.ipynb +++ b/docs/Tutorials/Mesa_model.ipynb @@ -36,12 +36,155 @@ { "cell_type": "markdown", "metadata": {}, + "source": [ + "# Imports & Downloads" + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "f87fd67a2f2c4f92b23a2c6cc4dde403", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "Iterations: 0/? [00:00" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "plt.figure(figsize=(10,6))\n", + "plt.plot(sim.lambdas, sim.spectrum_lambda)\n", + "\n", + "plt.xlim((6540,6590))\n", + "plt.title(\"STARDIS Solar Spectrum\")\n", + "plt.xlabel(\"Wavelength [$\\AA$]\")\n", + "plt.ylabel(\"Flux density [erg/s/cm$^2$/$\\AA$]\")\n", + "plt.tight_layout()\n", + "\n", + "plt.show()" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], "source": [] } ], "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, "language_info": { - "name": "python" + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.11.5" }, "orig_nbformat": 4 },