kinextract.read_galaxy_params
- kinextract.read_galaxy_params(path: str | Path) dict[source]
Read a legacy galaxy.params file.
- Expected format:
First non-comment line = galaxy name Remaining lines = key value [optional comments]
- Example:
NGC3258 distanceMpc 31.9 vmin -1100. vmax 1100.
- Returns:
params – Parsed values. Numeric values are converted to int or float when possible. The first line is stored as params[“galaxy_name”].
- Return type: