scopesim_templates.stellar.cluster_utils.closest_pickles

scopesim_templates.stellar.cluster_utils.closest_pickles#

scopesim_templates.stellar.cluster_utils.closest_pickles(spt)#

Retrieve closest spectral type available in the loaded Pyckles catalog.

Parameters:

spt (str or sequence of str) – Spectral type or types.

Returns:

closest_pickle – Closest spectral type or types in the catalog.

Return type:

str or list of str