astropy/astropy — pull request #315 by nhmc (2012-07-10 13:25:02+00:00)
Title: doc update, make all redshift arguments positional (not keyword) for consistency

Here's an overhaul of the documentation for the cosmology package, let me know what you think.

It would be nice to add a section giving some simple examples of basic tasks - how calculate the transverse and radial separations between two objects in the sky given an ra, dec and redshift for each, and how to calculate the intrinsic luminosity of an object given an apparent magnitude and redshift, but that's beyond the scope of this PR.

Some of the functions in funcs.py also had keyword redshift arguments, so I changed those to positional arguments for consistency with the rest of the functions and methods.