.. include:: ../coordinates/references.txt

SphericalRepresentation
=======================

.. currentmodule:: astropy.coordinates

.. autoclass:: SphericalRepresentation
   :show-inheritance:

   .. rubric:: Attributes Summary

   .. autosummary::

      ~SphericalRepresentation.attr_classes
      ~SphericalRepresentation.distance
      ~SphericalRepresentation.lat
      ~SphericalRepresentation.lon

   .. rubric:: Methods Summary

   .. autosummary::

      ~SphericalRepresentation.from_cartesian
      ~SphericalRepresentation.norm
      ~SphericalRepresentation.represent_as
      ~SphericalRepresentation.scale_factors
      ~SphericalRepresentation.to_cartesian
      ~SphericalRepresentation.unit_vectors

   .. rubric:: Attributes Documentation

   .. autoattribute:: attr_classes
   .. autoattribute:: distance
   .. autoattribute:: lat
   .. autoattribute:: lon

   .. rubric:: Methods Documentation

   .. automethod:: from_cartesian
   .. automethod:: norm
   .. automethod:: represent_as
   .. automethod:: scale_factors
   .. automethod:: to_cartesian
   .. automethod:: unit_vectors
