Cosmology
=========

.. currentmodule:: astropy.cosmology

.. autoclass:: Cosmology
   :show-inheritance:

   .. rubric:: Attributes Summary

   .. autosummary::

      ~Cosmology.from_format
      ~Cosmology.is_flat
      ~Cosmology.meta
      ~Cosmology.name
      ~Cosmology.read
      ~Cosmology.to_format
      ~Cosmology.write

   .. rubric:: Methods Summary

   .. autosummary::

      ~Cosmology.clone
      ~Cosmology.is_equivalent

   .. rubric:: Attributes Documentation

   .. autoattribute:: from_format
   .. autoattribute:: is_flat
   .. autoattribute:: meta
   .. autoattribute:: name
   .. autoattribute:: read
   .. autoattribute:: to_format
   .. autoattribute:: write

   .. rubric:: Methods Documentation

   .. automethod:: clone
   .. automethod:: is_equivalent
