peal.sparse_dictionaries.utils.read_component_bounds

peal.sparse_dictionaries.utils.read_component_bounds(c_min_max_path, selected, device, bounds_scale=1.0)[source]

Read c_min_and_maxes.txt and return (c_mins, c_maxs) for the selected columns.

bounds_scale (optional, default 1.0) widens each [c_min, c_max] range around its centre, as component_bounds_scale on the dev branch. At 1.0 the bounds are returned unchanged.