implement normalize_luminosity