Raytrace¶
This is implemented in the SIE class (src/simlib/SIE.cpp).
Evaluation of the lens potential.¶
To evaluate the lens potential , we calculate the polar coordinates and , and use the formula (see SIE) for .
Evaluation of the Deflection.¶
This uses \begin{aligned} \frac{\partial\psi^{\mathrm{R}}}{\partial x} &= C_0\frac{\sqrt{f}}{f’}\cdot \left( \cos\theta\cdot\sinh^{-1}\left(\frac{f’}{f}\cdot\frac{x\cos\theta+y\sin\theta}{R}\right) -\sin\theta\cdot\sin^{-1}\left(f’\cdot\frac{-x\sin\theta+y\cos\theta}{R}\right) \right) \\\\ \frac{\partial\psi^{\mathrm{R}}}{\partial y} &= C_0\frac{\sqrt{f}}{f’}\cdot \left( \sin\theta\cdot\sinh^{-1}\left(\frac{f’}{f}\cdot\frac{x\cos\theta+y\sin\theta}{R}\right) +\cos\theta\cdot\sin^{-1}\left(f’\cdot\frac{-x\sin\theta+y\cos\theta}{R}\right) \right) \end{aligned} as taken from the expression for above.
Note in polar co-ordinates, we replace and with and respectively, and find that is constant in .
Roulette¶
Under Construction
Step 1. [Differentiation of SIE](Differentiation of SIE)
where
and
TODO
Deprecated notes
[Roulette Amplitudes in SIE](Roulette Amplitudes in SIE)