NamedUnit
=========

.. currentmodule:: astropy.units

.. autoclass:: NamedUnit
   :show-inheritance:

   .. rubric:: Attributes Summary

   .. autosummary::

      ~NamedUnit.aliases
      ~NamedUnit.long_names
      ~NamedUnit.name
      ~NamedUnit.names
      ~NamedUnit.short_names

   .. rubric:: Methods Summary

   .. autosummary::

      ~NamedUnit.get_format_name

   .. rubric:: Attributes Documentation

   .. autoattribute:: aliases
   .. autoattribute:: long_names
   .. autoattribute:: name
   .. autoattribute:: names
   .. autoattribute:: short_names

   .. rubric:: Methods Documentation

   .. automethod:: get_format_name
