femic.pipeline.bundle

Helpers for model-input bundle table pathing and I/O.

Functions

assign_curve_ids_from_au_table(*, f_table, ...)

Assign curve ids from AU table for treated/untreated curve slots.

build_bundle_tables_from_curves(*, tsa_list, ...)

Build AU/curve tables from per-TSA VDYP and TIPSY curve outputs.

bundle_tables_ready(*, paths)

Return True when all required bundle tables exist.

emit_missing_au_curve_mapping_warning(*, ...)

Emit legacy warning text for missing AU/curve mapping diagnostics.

ensure_au_table_index(*, au_table[, au_id_col])

Return AU table indexed by AU id when available.

ensure_scsi_au_from_table(*, au_table, ...)

Backfill scsi_au map from persisted AU table entries.

load_bundle_tables(*, paths, pd_module[, ...])

Load bundle tables from CSV paths, optionally normalizing TSA codes.

resolve_bundle_paths(*[, base_dir, ensure_dir])

Resolve canonical model-input bundle table paths.

tsa_curve_id_prefix(tsa_code)

Return deterministic AU/curve id prefix for numeric and named TSA codes.

write_bundle_tables(*, paths, au_table, ...)

Persist bundle tables to their canonical CSV locations.

Classes

BundleAssemblyResult(au_table, curve_table, ...)

Assembled model-input bundle tables and missing-mapping diagnostics.

BundlePaths(bundle_dir, au_table, ...)

Resolved file paths for model input bundle tables.