dimensionless_redshift#

astropy.cosmology.units.dimensionless_redshift()[source]#

Allow redshift to be 1-to-1 equivalent to dimensionless.

It is special compared to other equivalency pairs in that it allows this independent of the power to which the redshift is raised, and independent of whether it is part of a more complicated unit. It is similar to u.dimensionless_angles() in this respect.