uvex_transients.simulation.core.SurveySimulator.run_photometry_action#
- SurveySimulator.run_photometry_action(catalog: EventCatalog, mission: Mission, bands: list[str] | None = None, n_sigma: float | None = None) QTable[source]#
Run synthetic photometry over every event in catalog.
A thin wrapper over ~uvex_transients.simulation.event_catalog.EventCatalog.simulate_photometry, supplying this simulator’s own transient_collection/survey_schedule so a config-driven step never needs to pass them explicitly.
- Parameters:
catalog (
EventCatalog) – The catalog of events to simulate photometry for.mission (
m4opt.missions.Mission) – Supplies the ~m4opt.synphot.Detector bands selects from.bands (
listofstr, optional) – Which of mission.detector’s bandpasses to evaluate. Defaults to every band.n_sigma (
float, optional) – Forwarded to ~uvex_transients.simulation.event.Event.simulate_photometry.
- Returns:
One row per (event, observation, band) synthetic observation.
- Return type:
See also
run_event_summary_actionReduce this action’s output (and the epochs) to a per-event summary table.
Examples
photometry = simulator.run_photometry_action( catalog=detected, mission=mission )