'Comoving line-of-sight distance in Mpc at a given
redshift.
The comoving distance along the line-of-sight between two
objects remains constant with time for objects in the Hubble
flow.
Parameters
z : array-like
Input redshifts.  Must be 1D or scalar.
Returns
d : `~astropy.units.Quantity`
Comoving distance in Mpc to each input redshift.'

def comoving_distance(self, z):

    return self._comoving_distance_z1z2(0, z)
