Light curve inversion