uvex_transients.cli.pipeline.run_cuts#

uvex_transients.cli.pipeline.run_cuts(config: RunConfig, catalog: EventCatalog, names: list[str] | None = None) → EventCatalog[source]#

Run one or more of the config’s declared cuts: against catalog, chained in order.

Parameters:
  • config (RunConfig) – The parsed run-config.

  • catalog (EventCatalog) – The catalog to filter.

  • names (list of str, optional) – Which of the config’s cuts: keys to run, and in what order. If None (the default), runs every declared cut, in the order it was declared in the config.

Returns:

The filtered catalog.

Return type:

EventCatalog