uvex_transients.simulation.core#

Monte Carlo sampling of transient populations against a survey schedule.

SurveySimulator samples a Monte Carlo realization of every registered transient type against a ~uvex_transients.surveys.base.SurveySchedule, producing an EventCatalog (SurveySimulator.generate_events()). Real per-event synthetic photometry is deferred to ~uvex_transients.simulation.event.Event (simulate_photometry()), since it is too expensive to run over a freshly sampled population dominated by events too faint to ever matter. The schedule-aware cuts (SurveySimulator.filter_by_snr and friends) are built on SurveySimulator.iter_epochs, which yields every observation of every event.

Functions

event_boundaries(event_id)

Locate each event's block of rows in an array grouped by event.

Classes

SurveySimulator(survey_schedule[, ...])

Samples transient populations against a survey schedule.