uvex_transients.simulation.core.SurveySimulator.run_cut#

SurveySimulator.run_cut(name: str, catalog: EventCatalog, mission: Mission, **params) → EventCatalog[source]#

Run one @cut-registered screening method by name.

A thin dispatch layer over filter_by_limiting_magnitude/filter_by_snr (and any further @cut-decorated methods a subclass adds) so a config-driven caller (see uvex_transients.cli) can select a cut by name rather than hardcoding which Python method to call.

Parameters:
  • name (str) – One of available_cuts.

  • catalog (EventCatalog) – The catalog to filter.

  • mission (m4opt.missions.Mission) – The mission whose detector(s)/bandpasses the cut evaluates against.

  • **params – Forwarded to the underlying cut method (e.g. mag_limit for the "limiting_magnitude" cut, snr_threshold for "snr").

Returns:

The filtered catalog.

Return type:

EventCatalog