Lightcurve inversion