halocat.config_io¶
config_io
¶
YAML config loader that can override halocat.config at runtime.
Only the knobs that the pipeline reads at call time (e.g. R_EDGES and
MASS_BINS from halocat.config) can be overridden this way — see
pipeline.run_single for the list of references.
load_xi_hh_config
¶
Load the YAML file and return a dict with 'r_edges' and 'mass_bins'.
Source code in halocat/config_io.py
apply_xi_hh_config
¶
Load path and monkey-patch halocat.config in place.
After this call, C.R_EDGES and C.MASS_BINS will hold the values
from the YAML file, so anything that reads them at call time
(pipeline.run_single → tpcf.measure_xi_hh) picks up the override.
Returns the parsed dict (the same thing load_xi_hh_config returns).