CompositeUnit
=============

.. currentmodule:: astropy.units

.. autoclass:: CompositeUnit
   :show-inheritance:

   .. rubric:: Attributes Summary

   .. autosummary::

      ~CompositeUnit.bases
      ~CompositeUnit.powers
      ~CompositeUnit.scale

   .. rubric:: Methods Summary

   .. autosummary::

      ~CompositeUnit.decompose
      ~CompositeUnit.is_unity

   .. rubric:: Attributes Documentation

   .. autoattribute:: bases
   .. autoattribute:: powers
   .. autoattribute:: scale

   .. rubric:: Methods Documentation

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