:orphan: .. image:: ../images/uvex_logos/UVEX_HorizLogo_White.png :width: 200px :align: center :class: only-light .. image:: ../images/uvex_logos/UVEX_HorizLogo_Black.png :width: 200px :align: center :class: only-dark .. _examples: ******** Examples ******** .. card:: :class-card: sd-shadow-sm gallery-banner Runnable, self-contained examples: mapping survey footprints, building and validating a survey schedule, simulating transient populations against it, and extending the code base with a new transient class. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. thumbnail-parent-div-close .. raw:: html
****************** Custom Transients ****************** .. card:: :class-card: sd-shadow-sm gallery-banner *Module:* :mod:`~uvex_transients.transients` Write your own :class:`~uvex_transients.models.core.base.SpectralModel` and :class:`~uvex_transients.transients.base.TransientBase` subclass, sampled and simulated just like the built-in transient classes. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/custom_transients/images/thumb/sphx_glr_plot_kilonova_detection_horizon_thumb.png :alt: :doc:`/auto_examples/custom_transients/plot_kilonova_detection_horizon` .. raw:: html
Setting a Kilonova Class's Redshift Limit from its SED
.. thumbnail-parent-div-close .. raw:: html
********************************* Working with Simulation Schedules ********************************* .. card:: :class-card: sd-shadow-sm gallery-banner *Module:* :mod:`~uvex_transients.surveys` Build, validate, and inspect a :class:`~uvex_transients.surveys.base.SurveySchedule` before handing it to a simulation. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/schedules/images/thumb/sphx_glr_plot_cadence_thumb.png :alt: :doc:`/auto_examples/schedules/plot_cadence` .. raw:: html
Cadence Diagnostics on the Default Schedule
.. thumbnail-parent-div-close .. raw:: html
******************************* Survey Transient Simulations ******************************* .. card:: :class-card: sd-shadow-sm gallery-banner *Module:* :mod:`~uvex_transients.simulation` Run a :class:`~uvex_transients.simulation.core.SurveySimulator` end to end: sample, screen with any of its registered cuts, generate synthetic photometry, and summarize the yield. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/simulating/images/thumb/sphx_glr_plot_cut_peak_magnitude_thumb.png :alt: :doc:`/auto_examples/simulating/plot_cut_peak_magnitude` .. raw:: html
Cut: Peak Magnitude
.. raw:: html
.. only:: html .. image:: /auto_examples/simulating/images/thumb/sphx_glr_plot_cut_peak_flux_thumb.png :alt: :doc:`/auto_examples/simulating/plot_cut_peak_flux` .. raw:: html
Cut: Peak Flux
.. raw:: html
.. only:: html .. image:: /auto_examples/simulating/images/thumb/sphx_glr_plot_cut_peak_luminosity_thumb.png :alt: :doc:`/auto_examples/simulating/plot_cut_peak_luminosity` .. raw:: html
Cut: Peak Luminosity
.. raw:: html
.. only:: html .. image:: /auto_examples/simulating/images/thumb/sphx_glr_plot_cut_query_thumb.png :alt: :doc:`/auto_examples/simulating/plot_cut_query` .. raw:: html
Cut: Arbitrary Query
.. raw:: html
.. only:: html .. image:: /auto_examples/simulating/images/thumb/sphx_glr_plot_cut_baseline_thumb.png :alt: :doc:`/auto_examples/simulating/plot_cut_baseline` .. raw:: html
Cut: Baseline
.. raw:: html
.. only:: html .. image:: /auto_examples/simulating/images/thumb/sphx_glr_plot_cut_limiting_magnitude_thumb.png :alt: :doc:`/auto_examples/simulating/plot_cut_limiting_magnitude` .. raw:: html
Cut: Limiting Magnitude
.. raw:: html
.. only:: html .. image:: /auto_examples/simulating/images/thumb/sphx_glr_plot_cut_sky_position_thumb.png :alt: :doc:`/auto_examples/simulating/plot_cut_sky_position` .. raw:: html
Cut: Sky Position Box
.. raw:: html
.. only:: html .. image:: /auto_examples/simulating/images/thumb/sphx_glr_plot_cut_time_to_first_detection_thumb.png :alt: :doc:`/auto_examples/simulating/plot_cut_time_to_first_detection` .. raw:: html
Cut: Time to First Detection
.. raw:: html
.. only:: html .. image:: /auto_examples/simulating/images/thumb/sphx_glr_plot_cut_snr_thumb.png :alt: :doc:`/auto_examples/simulating/plot_cut_snr` .. raw:: html
Cut: Signal-to-Noise Ratio
.. raw:: html
.. only:: html .. image:: /auto_examples/simulating/images/thumb/sphx_glr_plot_cut_redshift_thumb.png :alt: :doc:`/auto_examples/simulating/plot_cut_redshift` .. raw:: html
Cut: Redshift
.. raw:: html
.. only:: html .. image:: /auto_examples/simulating/images/thumb/sphx_glr_plot_cut_region_thumb.png :alt: :doc:`/auto_examples/simulating/plot_cut_region` .. raw:: html
Cut: Sky Region
.. raw:: html
.. only:: html .. image:: /auto_examples/simulating/images/thumb/sphx_glr_plot_cut_transient_type_thumb.png :alt: :doc:`/auto_examples/simulating/plot_cut_transient_type` .. raw:: html
Cut: Transient Type
.. raw:: html
.. only:: html .. image:: /auto_examples/simulating/images/thumb/sphx_glr_plot_action_photometry_thumb.png :alt: :doc:`/auto_examples/simulating/plot_action_photometry` .. raw:: html
Action: Synthetic Photometry
.. raw:: html
.. only:: html .. image:: /auto_examples/simulating/images/thumb/sphx_glr_plot_tde_end_to_end_thumb.png :alt: :doc:`/auto_examples/simulating/plot_tde_end_to_end` .. raw:: html
TDE End-to-End Simulation
.. raw:: html
.. only:: html .. image:: /auto_examples/simulating/images/thumb/sphx_glr_plot_shock_cooling_comparison_thumb.png :alt: :doc:`/auto_examples/simulating/plot_shock_cooling_comparison` .. raw:: html
Shock-Cooling Models: Blackbody vs. Full SED
.. thumbnail-parent-div-close .. raw:: html
***************** Survey Footprints ***************** .. card:: :class-card: sd-shadow-sm gallery-banner *Module:* :mod:`~uvex_transients.surveys.footprints` Sky maps of each observatory's survey footprints, from the named :class:`~uvex_transients.surveys.footprints.base.SurveyFootprint` registry. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/surveys/images/thumb/sphx_glr_plot_ztf_footprint_thumb.png :alt: :doc:`/auto_examples/surveys/plot_ztf_footprint` .. raw:: html
ZTF Survey Footprint
.. raw:: html
.. only:: html .. image:: /auto_examples/surveys/images/thumb/sphx_glr_plot_uvex_footprints_thumb.png :alt: :doc:`/auto_examples/surveys/plot_uvex_footprints` .. raw:: html
UVEX Survey Footprints
.. raw:: html
.. only:: html .. image:: /auto_examples/surveys/images/thumb/sphx_glr_plot_ls4_footprints_thumb.png :alt: :doc:`/auto_examples/surveys/plot_ls4_footprints` .. raw:: html
LS4 SOLE Survey Footprint
.. raw:: html
.. only:: html .. image:: /auto_examples/surveys/images/thumb/sphx_glr_plot_lsst_footprints_thumb.png :alt: :doc:`/auto_examples/surveys/plot_lsst_footprints` .. raw:: html
LSST Survey Footprints
.. raw:: html
.. only:: html .. image:: /auto_examples/surveys/images/thumb/sphx_glr_plot_tde_rubin_overlap_thumb.png :alt: :doc:`/auto_examples/surveys/plot_tde_rubin_overlap` .. raw:: html
UVEX TDEs in the Rubin Footprint
.. thumbnail-parent-div-close .. raw:: html
********************************** Target of Opportunity Simulations ********************************** .. card:: :class-card: sd-shadow-sm gallery-banner *Module:* :mod:`~uvex_transients.models.core` Simulate one specific, already-known event pointed at directly, on whatever cadence is chosen: no schedule, no windowed sampling, no :class:`~uvex_transients.simulation.event.Event`. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/too_simulations/images/thumb/sphx_glr_plot_too_followup_thumb.png :alt: :doc:`/auto_examples/too_simulations/plot_too_followup` .. raw:: html
Target-of-Opportunity Follow-up of a TDE
.. raw:: html
.. only:: html .. image:: /auto_examples/too_simulations/images/thumb/sphx_glr_plot_multiband_too_followup_thumb.png :alt: :doc:`/auto_examples/too_simulations/plot_multiband_too_followup` .. raw:: html
Multi-Band ToO Follow-up
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: :includehidden: /auto_examples/custom_transients/index.rst /auto_examples/schedules/index.rst /auto_examples/simulating/index.rst /auto_examples/surveys/index.rst /auto_examples/too_simulations/index.rst .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: auto_examples_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_