Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gamma sampling documentation #2859

Draft
wants to merge 14 commits into
base: master
Choose a base branch
from
1 change: 1 addition & 0 deletions docs/physics/tardisgamma/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ TARDIS gamma :math:`\gamma`

.. toctree::
packetinitialization
packetsampling
13 changes: 13 additions & 0 deletions docs/physics/tardisgamma/packetsampling.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Packet Sampling
===============


In the simulation, we use spherical symmetry where the ejecta is divided into multiple spherical shells. To find the mass of each shell we multiply the mass fractions of each of the elements and isotopes with the density. We can set the timespace for the simulation
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it worth mentioning spherical symmetry? I don't think spherical symmetry is specific to the gamma-ray part of the code. Perhaps just add a hyperlink to https://tardis-sn.github.io/tardis/physics/setup/model.html#Shell-Structure if you want to mention it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought it was relevant to mention at least how the ejecta is broken down into shells because it goes into how we find the mass of each shell. I added the hyperlink but if it still doesn't make sense to mention it, I can remove that part.

to be between t\ :sub:`start`\ and t\ :sub:`end`\ using either a linear or a logarithmic scale.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this warrants more description. At least a short description of why you'd want to use one or the other timescales.



We use the `radioactivedecay <https://radioactivedecay.github.io>` python package to calculate the number of decays in each channel for each shell and at every timestep for each isotope.
The composition is also updated after each timestep following :cite:`2024arXiv240308769G`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this citation is working correctly in the built docs.

Then to calculate the decay energy of each channel, we multiply the total number of decays with the energy of each channel.
We give weight to the decay energy of each channel of each isotope to sample the packets which takes into account the spatial distribution
of radiocative isotopes present in different shells and the evolution of the composition over time.
17 changes: 17 additions & 0 deletions docs/tardis.bib
Original file line number Diff line number Diff line change
Expand Up @@ -348,3 +348,20 @@ @ARTICLE{Boyle2017
adsurl = {https://ui.adsabs.harvard.edu/abs/2017A&A...599A..46B},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

@ARTICLE{2024arXiv240308769G,
author = {{Guttman}, Or and {Shenhar}, Ben and {Sarkar}, Arnab and {Waxman}, Eli},
title = "{The thermalization of $\gamma$-rays in radioactive expanding ejecta: A simple model and its application for Kilonovae and Ia SNe}",
journal = {arXiv e-prints},
keywords = {Astrophysics - High Energy Astrophysical Phenomena},
year = 2024,
month = mar,
eid = {arXiv:2403.08769},
pages = {arXiv:2403.08769},
doi = {10.48550/arXiv.2403.08769},
archivePrefix = {arXiv},
eprint = {2403.08769},
primaryClass = {astro-ph.HE},
adsurl = {https://ui.adsabs.harvard.edu/abs/2024arXiv240308769G},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
Loading