spt_to_teff

libra.spt_to_teff(spt)[source] [edit on github]

Convert spectral type (i.e. “M8V”) to effective temperature in Kelvin. Parameters ———- spt: str

Spectral type
Returns:

teff : float

Effective temperature