uvex_transients.simulation.exposure_catalog.ExposureCatalog.get_expected_events_between#
- ExposureCatalog.get_expected_events_between(t_start: Time, t_end: Time, transient_type: str | None = None) float | dict[str, float][source]#
Compute the expected event count within
[t_start, t_end), grouped by transient type.Uses the same bin-overlap weighting as get_exposure_between (see _bin_overlap_weights); valid because expected_events is effective_exposure scaled by a per-type constant (integrated_rate), so the two scale identically.
- Parameters:
- Returns:
Expected number of events between the two times.
- Return type:
floatordict[str,float]