uvex_transients.cli.config#

Parsing/validation for a CLI run-config YAML file.

A single YAML file drives every CLI command (see uvex_transients.cli.main); each command only needs the section(s) relevant to it (generate: for generate, cuts: for cut, …), so RunConfig resolves each section lazily, on first access, rather than eagerly validating the whole file up front – a config missing a section a given command doesn’t need is perfectly valid.

Classes

CutSpec(type, params, ~typing.Any] =)

One resolved entry of a cuts: section -- a SurveySimulator.available_cuts() name plus its params.

DetectionCountsConfig(snr_threshold[, ...])

Parsed detection_counts: section -- see PhotometryCatalog.compute_detection_count_table.

GenerateConfig(time_bins[, nside, order, ...])

Parsed generate: section -- see SurveySimulator.generate_events.

PhotometryConfig([bands, n_sigma])

Parsed photometry: section -- see EventCatalog.simulate_photometry.

RunConfig(raw[, source])

A parsed CLI run-config, resolving each section lazily on first access.

YieldConfig([confidence])

Parsed yield: section -- see EventCatalog.compute_yield_summary.