Linear analysis of the light curves of eclipsing variables