psfsim.sed
Classes
Stellar SEDs |
Module Contents
- class StellarSEDFinder(sed_dir='./data/SEDtemplates/')[source]
Stellar SEDs
- find_sed(num, lumclass, interpolate=True)[source]
Find the SED for a star given its numerical spectral type and luminosity class.
- Parameters:
num (float) – Spectral type (e.g., 3.2 = B3.2, 6.5 = K6.5)
lumclass (int) – Luminosity class (1=I, 2=II, …, 5=V, 6=VI)
interpolate (bool, optional) – Whether to interpolate between subtypes
- Returns:
(wavelength, flux) tuple
- Return type:
tuple