get_catalog_index

stsynphot.catalog.get_catalog_index(gridname)[source]

Extract catalog index (grid parameters).

It is read once and then cached until the cache is cleared explicitly using reset_cache().

Parameters:
gridnamestr

See grid_to_spec().

Returns:
cat_indexlist

List of [t_eff, metallicity, log_g, filename].

catdirstr

Directory containing the requested catalog.