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

[TEP005][DOC] Documentation #745

Merged
merged 9 commits into from
Jun 22, 2017
Merged

Conversation

yeganer
Copy link
Contributor

@yeganer yeganer commented Jun 14, 2017

This is a first version of the documentation regarding the formal integral.
There are two parts to this documentation:

  1. Quick overview of the algorithm and the physics that are involved

  2. An example of how this new module can be used.

For details about the implementation, please refer to the comments in the code.

Copy link
Contributor

@unoebauer unoebauer left a comment

Choose a reason for hiding this comment

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

Made a few comments. Very good starting point! We may want to polish this up in the future and also include some details about the implementation (?)

The current implementation only works with the downbranch line interaction scheme.


:cite:`Lucy1999a` describes an alternative method for the generation of spectram for the supernova ejecta. Instead of using the frequency and energy of virtual montecarlo packets to create a spectrum through binning, one can use estimators collected during the montecarlo simulation to formally integrate the radiation field. Spectra generated using this method do not contain montecarlo noise directly. Here the monte carlo nature of the simulation only affects the strengths of lines and thus the spectra appear to be of better quality.
Copy link
Contributor

Choose a reason for hiding this comment

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

better: "...generation of synthetic supernova spectra."

Copy link
Contributor

Choose a reason for hiding this comment

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

Important: The description should reflect that the method formally integrates over the line source functions and that these are determined during the simulation using volume-based estimators.


\dot E_{lu} = \frac{1}{\Delta t V} \left( 1- e^{-\tau_{lu}}\right) \sum \epsilon

where the sum is over all the packages in a given shell that come into resonance with the transition :math:`u \rightarrow l` during the monte carlo run, :math:`\epsilon` is the energy of one such packet, and :math:`\tau_{lu}` the optical depth of the line.
Copy link
Contributor

Choose a reason for hiding this comment

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

Sobolev optical depth


\dot E_u = \sum_{i < u} \dot E_{iu}

that is, by summing all the line absorption estimators below the currently selected level.
Copy link
Contributor

Choose a reason for hiding this comment

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

the summation includes all levels which lie below the target level


where :math:`\lambda_{ul}` is the wavelength of each line :math:`u \rightarrow l`, and :math:`q_{ul}` is the corresponding branching ratio. The attenuating factor is kept on the left hand side because it is the product of the two that will appear in later formulae.

Having thus produced attenuated source functions from our Monte Carlo run, we move on to using these to calculate the emerging intensity and finally the luminosity per wavelength. The final integral is given as
Copy link
Contributor

Choose a reason for hiding this comment

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

The formal integration is based on the so-called "elementary supernova" model, which is described in detail in Jeffery & Branch 1990.


We seek to integrate all emissions at a certain wavelength :math:`\nu` along a
ray with impact parameter :math:`p`. Because the supernova ejecta is expanding
homologously, along any ray parallel to the line of sight, the Doppler effect
Copy link
Contributor

Choose a reason for hiding this comment

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

the co-moving frame frequency is continuously shifted to longer wavelength due to the relativistic Doppler effect as the packet/photon propagates.

@yeganer yeganer changed the title [TEP005] Documentation [TEP005][DOC] Documentation Jun 20, 2017
Copy link
Contributor

@unoebauer unoebauer left a comment

Choose a reason for hiding this comment

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

Sorry to be picky, but we should at least use a uniform spelling of "Monte Carlo". Please change this @yeganer and then I'd say we can merge this. Later on, when the formal integral is fully implemented we will have to expand this documentation in any case. Then we can polish it up more.

@yeganer yeganer mentioned this pull request Jun 20, 2017
5 tasks
@unoebauer unoebauer requested review from chvogl and talytha June 20, 2017 09:36
@wkerzendorf wkerzendorf merged commit 9423aca into tardis-sn:formal_integral Jun 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants