astropy/astropy — pull request #563 by astrofrog (2012-12-15 16:59:33+00:00)
Title: Added coordinate accuracy tests against reference AST values

(This PR will need to be rebased once #551 is merged, since it includes commits from there)

This PR adds tests of the accuracy of the transformation against values generated by PyAST. The tests include so far FK4 (without e-terms) to/from FK5, with arbitrary equinoxes and an arbitrary epoch (which validate to 0.1") and FK4 (with e-terms) to/from FK4 (without e-terms) (which validate to 0.25").

The scripts to produce the reference values are included.

@eteq - does this seem like a good plan to you? If so, I'll continue to add a few more transformations (e.g. FK5 <-> ICRS) and (FK4 or FK5 to Galactic).