SpectralRegion
==============

.. currentmodule:: specutils

.. autoclass:: SpectralRegion
   :show-inheritance:

   .. rubric:: Attributes Summary

   .. autosummary::

      ~SpectralRegion.bounds
      ~SpectralRegion.lower
      ~SpectralRegion.subregions
      ~SpectralRegion.upper

   .. rubric:: Methods Summary

   .. autosummary::

      ~SpectralRegion.as_table
      ~SpectralRegion.from_center
      ~SpectralRegion.from_line_list
      ~SpectralRegion.from_qtable
      ~SpectralRegion.invert
      ~SpectralRegion.invert_from_spectrum
      ~SpectralRegion.read
      ~SpectralRegion.write

   .. rubric:: Attributes Documentation

   .. autoattribute:: bounds
   .. autoattribute:: lower
   .. autoattribute:: subregions
   .. autoattribute:: upper

   .. rubric:: Methods Documentation

   .. automethod:: as_table
   .. automethod:: from_center
   .. automethod:: from_line_list
   .. automethod:: from_qtable
   .. automethod:: invert
   .. automethod:: invert_from_spectrum
   .. automethod:: read
   .. automethod:: write
