Unit
====

.. currentmodule:: astropy.units

.. autoclass:: Unit
   :show-inheritance:

   .. rubric:: Attributes Summary

   .. autosummary::

      ~Unit.represents

   .. rubric:: Methods Summary

   .. autosummary::

      ~Unit.decompose
      ~Unit.is_unity

   .. rubric:: Attributes Documentation

   .. autoattribute:: represents

   .. rubric:: Methods Documentation

   .. automethod:: decompose
   .. automethod:: is_unity
