Absolute magnitudes are derived from the spectral type or trigonometric parallax. For dwarfs, it can also be computed from the color index.
a_stars Derive absolute visual magnitude from apparent magnitude and parallax.