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()for supported grids. Any other input is assumed to be custom grid stored incrgrid$as expected byirafconvert().
- Returns:
- cat_indexlist
List of
[t_eff, metallicity, log_g, filename].- catdirstr
Directory containing the requested catalog.