SpectralCoord
=============

.. currentmodule:: astropy.coordinates

.. autoclass:: SpectralCoord
   :show-inheritance:

   .. rubric:: Attributes Summary

   .. autosummary::

      ~SpectralCoord.observer
      ~SpectralCoord.quantity
      ~SpectralCoord.radial_velocity
      ~SpectralCoord.redshift
      ~SpectralCoord.target

   .. rubric:: Methods Summary

   .. autosummary::

      ~SpectralCoord.replicate
      ~SpectralCoord.to_rest
      ~SpectralCoord.with_observer_stationary_relative_to
      ~SpectralCoord.with_radial_velocity_shift

   .. rubric:: Attributes Documentation

   .. autoattribute:: observer
   .. autoattribute:: quantity
   .. autoattribute:: radial_velocity
   .. autoattribute:: redshift
   .. autoattribute:: target

   .. rubric:: Methods Documentation

   .. automethod:: replicate
   .. automethod:: to_rest
   .. automethod:: with_observer_stationary_relative_to
   .. automethod:: with_radial_velocity_shift
