mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-03-29 20:03:36 -04:00
Now pass in max slope of function to be searched, expressed in units/day. By seeing how far the function is from zero, we can deduce whether we are within the specified time tolerance of finding the event. Use a simplified refraction model in the rise/set search so that the function is better fit by parabolas. Assume constant refraction instead of variable refraction, because it only matters near the horizon anyway. Use a canned value of +34 minutes, which creates close fit with test data.