Distance
========

.. currentmodule:: astropy.coordinates

.. autoclass:: Distance
   :show-inheritance:

   .. rubric:: Attributes Summary

   .. autosummary::

      ~Distance.distmod
      ~Distance.parallax
      ~Distance.z

   .. rubric:: Methods Summary

   .. autosummary::

      ~Distance.compute_z

   .. rubric:: Attributes Documentation

   .. autoattribute:: distmod
   .. autoattribute:: parallax
   .. autoattribute:: z

   .. rubric:: Methods Documentation

   .. automethod:: compute_z
