rpoleski / MulensModel

Microlensing Modelling package
https://rpoleski.github.io/MulensModel/
Other
56 stars 15 forks source link

Just a doubt about how the magnification is calculated #96

Closed josepereirasn closed 1 year ago

josepereirasn commented 1 year ago

In the article " Modeling microlensing events with MulensModel " do you mentioned about cublic spline interpolation is used to find the magnification value togheter with the precomputed methods.

Can we have more detail about how is this model interpolated? Especially the Witt & Mao (94) expression. That is some article or something like that that could guide us.

rpoleski commented 1 year ago

This part of the article is about events that single-lens and single-source with finite source effect. Please have a look at the source/MulensModel/pointlens.py file. The interpolation is done there using the scipy functions. The same file has functions that allow direct (i.e., without interpolation) calculation of the magnification, but they are much slower.

rpoleski commented 1 year ago

@josepereirasn - I don't see more questions, hence, closing.