scopesim_templates.stellar.cluster_utils

scopesim_templates.stellar.cluster_utils#

Contains aux functions for clusters.py.

Functions

closest_pickles(spt)

Retrieve closest spectral type available in the loaded Pyckles catalog.

gaussian_distribution(n, fwhm[, seed])

mass2absmag(mass)

Interpolate the absolute V magnitude (Mv) for a given stellar mass.

mass2spt(mass)

Find the closest spectral type for a given stellar mass.

Classes

ClusterUtilSingletons()

Singletons that usually require the internet.