uvex_transients.cli.pipeline#

Plain functions implementing each CLI stage, kept free of click so they’re directly testable.

uvex_transients.cli.main’s subcommands are thin wrappers around these – each one parses arguments, calls one of these, and reports a short summary.

Functions

dry_run_report(config, command[, outputs, ...])

Validate config for command and describe what it would do, without sampling or writing anything.

run_cuts(config, catalog[, names])

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

run_detection_counts(config, catalog, ...)

Build the detection-count estimator table per the config's detection_counts: section.

run_exposure(config)

Tabulate an ExposureCatalog per the config's generate: section.

run_generate(config)

Sample a Monte Carlo EventCatalog per the config's generate: section.

run_photometry(config, catalog)

Run synthetic photometry over every event in catalog per the config's photometry: section.

run_yield_summary(config, raw, detected, ...)

Build a YieldTable per the config's yield: section (Clopper-Pearson confidence level).