Postproduction

The postproduction pipeline takes the trigger catalogs produced by pycWB search jobs and produces final analysis products: background estimates, ranked candidate lists, detection efficiency curves, and HTML summary reports.

Start with Run Ranking and Efficiency on a Study to adapt the maintained ranking and efficiency workflow to your catalogs. Use Post-Production Workflow Guide to assemble a custom workflow, or prepare training inputs and import cWB results with the guides below. For a worked report using tutorial runs, see Build a Reusable Postproduction Report. Scientific explanations live under Concepts and methods; exact action signatures live in Post-Production Action Reference.

Quick Start

A complete postproduction run is driven by a workflow YAML:

pycwb post-process path/to/postprocess_workflow.yaml

Add --log-file logs/postproduction.log to save detailed output. Interactive terminals automatically show the optional Rich workflow dashboard; see Post-Production Workflow Guide for installation and --progress options.

To inspect the dependency graph without running:

pycwb post-process path/to/postprocess_workflow.yaml --diagram-only

A reference template is available at examples/postproduction/standard_analysis_10pct_workflow.yaml.

Use the Post-Production Workflow Guide to learn how to assemble a pipeline, and the Post-Production Action Reference page to choose an action and look up its exact Python signature.

Postproduction ranking and significance

Typical Workflow Steps

A complete postproduction analysis follows this sequence:

  1. Split background into training and FAR-holdout subsets (Training Set Preparation).

  2. Match and filter simulation triggers to injection truth.

  3. Train XGBoost ranking model on BKG + SIM features (XGBoost Classification).

  4. Score background holdout with the trained model.

  5. Build FAR lookup table from scored background (Background Estimation).

  6. Score simulations and compute detection efficiency (Detection Efficiency).

  7. Analyze zero-lag candidates and compute Poisson significance.

  8. Generate HTML report with all results (Postproduction Reports).

See Post-Production Workflow Guide for detailed YAML examples of each step.

Reference and implementation