:orphan:



.. _sphx_glr_generated_gallery:

***************
Example Gallery
***************

This gallery contains examples of how to use ``ndcube``.
Most of these examples require the ``sunpy`` sample data, which you can download by running::

     >>> import sunpy.data.sample

Once downloaded the data will be stored in your user directory and you will not need to download it again.



.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="One of the powerful aspects of having coordinate-aware data stored as an ~ndcube.NDCube is the ...">

.. only:: html

 .. figure:: /generated/gallery/images/thumb/sphx_glr_slicing_ndcube_thumb.png
     :alt: Examples of cropping an NDCube

     :ref:`sphx_glr_generated_gallery_slicing_ndcube.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /generated/gallery/slicing_ndcube

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example shows how you load in data from a FITS file to create an ~ndcube.NDCube. Here we w...">

.. only:: html

 .. figure:: /generated/gallery/images/thumb/sphx_glr_creating_ndcube_from_fitsfile_thumb.png
     :alt: How to create an NDCube from data stored in a FITS file

     :ref:`sphx_glr_generated_gallery_creating_ndcube_from_fitsfile.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /generated/gallery/creating_ndcube_from_fitsfile
.. raw:: html

    <div class="sphx-glr-clear"></div>



.. only :: html

 .. container:: sphx-glr-footer
    :class: sphx-glr-footer-gallery


  .. container:: sphx-glr-download sphx-glr-download-python

    :download:`Download all examples in Python source code: gallery_python.zip </generated/gallery/gallery_python.zip>`



  .. container:: sphx-glr-download sphx-glr-download-jupyter

    :download:`Download all examples in Jupyter notebooks: gallery_jupyter.zip </generated/gallery/gallery_jupyter.zip>`


.. only:: html

 .. rst-class:: sphx-glr-signature

    `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.github.io>`_
