From 9c7f4f254be6f64510be0eece14f8e58efe25ab8 Mon Sep 17 00:00:00 2001 From: jayantbhakar Date: Fri, 12 Aug 2022 15:55:44 +0530 Subject: [PATCH] added introduction --- .../montecarlo_packet_visualization.ipynb | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/docs/io/visualization/montecarlo_packet_visualization.ipynb b/docs/io/visualization/montecarlo_packet_visualization.ipynb index 7f14b8ae58d..20eacf33bcf 100644 --- a/docs/io/visualization/montecarlo_packet_visualization.ipynb +++ b/docs/io/visualization/montecarlo_packet_visualization.ipynb @@ -7,6 +7,14 @@ "# Montecarlo Packet Visualization" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "This visualization tool plots the `RPackets` that are generated by the [Montecarlo](https://tardis-sn.github.io/tardis/physics/montecarlo/index.html) method and creates an animated plot that contains the packet trajectories as they move away from the photosphere.\n", + "The properties of individual RPackets are taken from the [rpacket_tracker](https://tardis-sn.github.io/tardis/io/output/rpacket_tracking.html). " + ] + }, { "cell_type": "code", "execution_count": null, @@ -88,8 +96,11 @@ "

The diagram above shows the packet trajectory as it starts from photosphere `P0` and continues to move along the subsequent points `P1`, `P2` and so on.\n", "\n", "
\n", - " Note:
\n", - " Here μ is the angle of direction of packet propagation with respect to line joining the center.\n", + "\n", + "Note\n", + " \n", + "Here `μ` is the angle of direction of packet propagation with respect to line joining the center.\n", + " \n", "
\n", "\n", "To determine the polar coordinates of any arbitrary point, let say `P2`, we need `r2` and `θ2`. `r2` is already present in the array obtained from the simulation. To determine `θ2`, we use sine rule and apply it on triangle `OP1P2`, where `O` is the center.\n",