:orphan:
.. image:: ../images/uvex_logo_dark.png
:width: 200px
:align: center
.. _examples:
********
Examples
********
.. card::
:class-card: sd-shadow-sm gallery-banner
Runnable, self-contained examples: 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
.. 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
**********************
Simulating Transients
**********************
.. 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,
and generate synthetic photometry for individual events.
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/simulating/images/thumb/sphx_glr_plot_too_followup_thumb.png
:alt:
:doc:`/auto_examples/simulating/plot_too_followup`
.. raw:: html
Target-of-Opportunity Follow-up of a TDE
.. 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_multiband_too_followup_thumb.png
:alt:
:doc:`/auto_examples/simulating/plot_multiband_too_followup`
.. raw:: html
Multi-Band ToO Follow-up
.. 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
.. toctree::
:hidden:
:includehidden:
/auto_examples/custom_transients/index.rst
/auto_examples/schedules/index.rst
/auto_examples/simulating/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 `_