solid_waffle.merge_runs

merge_runs.py - Aggregate already-completed run_ir_all outputs.

Loads results from existing _summary.txt files for each config and combines them into a single averaged output without rerunning the expensive fit_parameters computation.

Usage

python merge_runs.py config1.txt config2.txt config3.txt –outstem combined

param config_files:

Paths to the individual configuration files. Each must have a corresponding <outstem>_summary.txt already on disk.

type config_files:

list of str

param –outstem:

Output stem for the combined results. Defaults to the first config’s outstem with ‘_combined’ appended.

type –outstem:

str, optional

param Output:

param ——:

<outstem>_summary.txt combined characterization results <outstem>_multi.pdf combined parameter maps figure <outstem>_m23.pdf combined method 2 and 3 figure <outstem>_hot.txt combined hot pixel report <outstem>_hotipc.pdf combined hot pixel figure <outstem>_nl.txt combined non-linearity table

Functions

main()

Aggregate already-completed run_ir_all outputs into one combined result.

Module Contents

main()[source]

Aggregate already-completed run_ir_all outputs into one combined result.

Reads command line arguments for config file paths and optional output stem, loads results from existing _summary.txt files, and writes combined outputs.