.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/surveys/plot_uvex_footprints.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_examples_surveys_plot_uvex_footprints.py: UVEX Survey Footprints ====================== UVEX's footprints come from the DS9 region files in the `uvex-scheduler `_ repo. The first use of each downloads its file and caches the resulting MOC, so later runs read it from disk. .. GENERATED FROM PYTHON SOURCE LINES 12-15 Each footprint is looked up by name in the :data:`~uvex_transients.surveys.footprints.base.default_registry`, which every footprint registers itself in on import. .. GENERATED FROM PYTHON SOURCE LINES 15-23 .. code-block:: Python import matplotlib.pyplot as plt from uvex_transients.surveys.footprints import default_registry from uvex_transients.utils.plotting import plot_footprints print(default_registry.names("uvex:")) .. rst-class:: sphx-glr-script-out .. code-block:: none ['uvex:allsky', 'uvex:lmlz:deep', 'uvex:lmlz:wide', 'uvex:mc'] .. GENERATED FROM PYTHON SOURCE LINES 24-27 The low-Milky-Way/low-zodi wide survey, its deep fields, and the Magellanic Clouds survey. The deep fields are small circles (the inscribed UVEX field of view) and larger patches. .. GENERATED FROM PYTHON SOURCE LINES 27-35 .. code-block:: Python footprints = { "LMLZ wide": default_registry["uvex:lmlz:wide"], "LMLZ deep": default_registry["uvex:lmlz:deep"], "Magellanic Clouds": default_registry["uvex:mc"], } plot_footprints(footprints, title="UVEX survey footprints") plt.show() .. image-sg:: /auto_examples/surveys/images/sphx_glr_plot_uvex_footprints_001.png :alt: UVEX survey footprints :srcset: /auto_examples/surveys/images/sphx_glr_plot_uvex_footprints_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.597 seconds) .. _sphx_glr_download_auto_examples_surveys_plot_uvex_footprints.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_uvex_footprints.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_uvex_footprints.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_uvex_footprints.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_