New option to xscalc: luminosity