[Kstars-devel] Atmospheric Refraction trouble

Aleksey Khudyakov alexey.skladnoy at gmail.com
Mon Jul 23 12:09:31 UTC 2012


On 21.07.2012 05:31, Akarsh Simha wrote:
>> Maybe it works only because of the existence of the below-altCrit
>> bug. The bug makes sure we use a function with the opposite slope
>> later, so maybe it comes back and converges after many more cycles
>> than it should actually take.
>
It uses plain old iteration method for solving equations in form x=f(x)

x_{n+1} = f( x_{n} )

We could write equation in form

h0 = h - correction(h0)

h0 - unrefracted height
h  - with refraction

This method doesn't always converge in generic case but it should always 
converge in our case.


More information about the Kstars-devel mailing list