uvex_transients.cli.pipeline.run_detection_counts#

uvex_transients.cli.pipeline.run_detection_counts(config: RunConfig, catalog: EventCatalog, exposure: ExposureCatalog, photometry: PhotometryCatalog | QTable) → QTable[source]#

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

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

  • catalog (EventCatalog) – The full per-type event list photometry was computed over – forwarded to PhotometryCatalog.compute_detection_count_table.

  • exposure (ExposureCatalog) – Typically run_exposure’s own output.

  • photometry (PhotometryCatalog or QTable) – Typically run_photometry’s own output, or a PhotometryCatalog wrapping it; a bare QTable (the shape run_photometry itself returns) is wrapped automatically.

Returns:

One row per (transient_type, n_detections) pair; see PhotometryCatalog.compute_detection_count_table’s own docstring for the column list.

Return type:

astropy.table.QTable