Skip to content

Instantly share code, notes, and snippets.

@brandon-rhodes
Created April 14, 2013 20:32
Show Gist options
  • Save brandon-rhodes/5384098 to your computer and use it in GitHub Desktop.
Save brandon-rhodes/5384098 to your computer and use it in GitHub Desktop.
A quick iPython Notebook showing the algorithm that libastro, and thus PyEphem, uses to adjust the visual altitude of objects that are 15° or higher in the sky. (For objects closer to the horizon, a different formula is used; see `refract.c`.)
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment