.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/surveys/plot_lsst_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_lsst_footprints.py: LSST Survey Footprints ====================== The LSST footprints are built from the Rubin scheduler's own labeled sky-area map and deep drilling field list, using the optional `rubin_scheduler `_ package (``pip install "uvex-transients[rubin]"``). Generating a MOC downloads the scheduler data once through astropy's cache. Each finished MOC is then cached, so later runs need neither the package nor the download. .. GENERATED FROM PYTHON SOURCE LINES 14-15 Each region of the scheduler's sky-area map is its own footprint, named ``lsst:*``. .. 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("lsst:")) .. rst-class:: sphx-glr-script-out .. code-block:: none ['lsst:combined', 'lsst:ddf', 'lsst:galplane', 'lsst:main', 'lsst:mc', 'lsst:nes', 'lsst:scp', 'lsst:virgo', 'lsst:wfd'] .. GENERATED FROM PYTHON SOURCE LINES 24-27 The wide-fast-deep area covers most of the survey, and the deep drilling fields are drawn last, on top. Colors are assigned in order, so the footprints are ordered to keep regions that touch each other well separated. .. GENERATED FROM PYTHON SOURCE LINES 27-39 .. code-block:: Python footprints = { "Wide-fast-deep": default_registry["lsst:wfd"], "Galactic plane and bulge": default_registry["lsst:galplane"], "North ecliptic spur": default_registry["lsst:nes"], "Magellanic Clouds": default_registry["lsst:mc"], "Virgo cluster": default_registry["lsst:virgo"], "South celestial pole": default_registry["lsst:scp"], "Deep drilling fields": default_registry["lsst:ddf"], } plot_footprints(footprints, title="LSST survey footprints") plt.show() .. image-sg:: /auto_examples/surveys/images/sphx_glr_plot_lsst_footprints_001.png :alt: LSST survey footprints :srcset: /auto_examples/surveys/images/sphx_glr_plot_lsst_footprints_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-timing **Total running time of the script:** (1 minutes 35.968 seconds) .. _sphx_glr_download_auto_examples_surveys_plot_lsst_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_lsst_footprints.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_lsst_footprints.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_lsst_footprints.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_