Command line¶
The CLI wraps the full pipeline and writes a CSV output table. Most options
map directly to configuration dataclasses in pqc.config.
Note: advanced global-event tuning (solar/eclipses/gaussian-bumps/glitches) is currently configured through the Python API config objects.
Basic run¶
pqc --par /path/to/pulsar.par --out out.csv
This writes a settings file alongside the CSV unless you override it with
--settings-out.
Custom thresholds¶
pqc --par /path/to/pulsar.par --out out.csv \
--backend-col group \
--tau-corr-min 45 \
--fdr-q 0.02 \
--tau-rec-days 10 \
--delta-chi2 30
Exponential dips¶
pqc --par /path/to/pulsar.par --out out.csv \
--dip-tau-rec-days 30 \
--dip-window-mult 5 \
--dip-min-points 6 \
--dip-delta-chi2 25 \
--dip-member-eta 1.0 \
--dip-scope backend
Logging¶
pqc --par /path/to/pulsar.par --out out.csv \
--log-level DEBUG \
--log-format "%(levelname)s:%(message)s"
Statistical knobs (what they mean)¶
--fdr-qsets the target false discovery rate for bad-measurement tests (Benjamini-Hochberg) [BH1995].--delta-chi2is the minimum improvement in step or transient likelihood required to accept a detection.--member-eta(step/transient configs) sets a per-point SNR threshold:
where m_i is the model effect at point i.
Feature structure and grouping¶
pqc --par /path/to/pulsar.par --out out.csv \
--add-freq-bin --freq-bins 8 \
--structure-mode both \
--structure-group-cols group,freq_bin \
--structure-test-features solar_elongation_deg,orbital_phase \
--structure-detrend-features solar_elongation_deg,orbital_phase \
--structure-summary-out structure_summary.csv
Preprocessing for selected detectors¶
pqc --par /path/to/pulsar.par --out out.csv \
--detrend-features orbital_phase \
--rescale-feature solar_elongation_deg \
--condition-on group,freq_bin \
--use-preproc-for ou,transient
Settings output¶
pqc --par /path/to/pulsar.par --out out.csv \
--settings-out results/run_settings.toml
References¶
Benjamini, Y., & Hochberg, Y. (1995). “Controlling the false discovery rate: a practical and powerful approach to multiple testing.” Journal of the Royal Statistical Society Series B, 57(1), 289-300. citeturn1search0