AI Lab

Stellar Spectrum Analysis Lab

Interactive spectroscopy tools built on the project’s research algorithms. Generate the theoretical standard spectrum of any spectral type, or upload two spectra to compare their similarity.

Source algorithms: gen-spectro2.py & cos_similarity.pyCore algorithms ported to TypeScript, running live in the browser
Select spectral type
Surface temperature5,800 K
2,500 K (M-type red dwarf)50,000 K (O-type blue giant)
Theoretical standard spectrum
Visible spectrum color band
Stellar parameters
Spectral typeG-type
Surface temperature5,800 K
Peak wavelength (Wien)500 nm
Example starSun
Mass range0.8-1.04 M☉
ColorYellow
Yellow star (like the Sun); Ca H&K lines strongest, rich in metal lines
Absorption lines (14)
393.37 nmCa II H&K0.65
396.85 nmCa II H&K0.60
430 nmG-band (CH)0.55
517.27 nmMg I0.50
518.36 nmMg I0.50
589 nmNa I D0.65
438.35 nmFe I0.40
527.03 nmFe I0.35
532.8 nmFe I0.35
422.67 nmCa I0.45
656.28 nmH-alpha0.25
486.13 nmH-beta0.20
760.4 nmO2 A-band0.60
822.7 nmO2 Z-band0.20