eteq/astropysics — pull request #4 by mwcraig (2011-11-13 03:53:03+00:00)
Title: 3 alt/az fix for new coord scheme, fixes to sidereal time calculation

There are basically three changes in here:

+ Fix of a typo in the USNO Circular 179 formula for GMST
+ Removal of `raise NotImplementedYet` in greenwich_sidereal_time(apparent=True) because the SOFA implementation of iauGst00b doesn't include the complementary terms in the equation of the equinox either, and some detail added to documentation of the function. `sofatests.py` also changed to reflect this update.
+ Change in name of equatorial coordinates class in obstools.Site.equatorialToHorizontal to reflect coordinate class in coords.

I also updated sofatest.py to use `apparent=True` in its test of LAST; though it sometimes passes and sometimes fails, its failures are small (e.g. 1.5e-8), and it does *much* better than the `apparent='simple'` method.