We present a new algorithm, the Eclipsing Binary Automated Solver (EBAS) to analyse lightcurves of eclipsing binaries. To replace human visual assessment, we introduce a new 'alarm' goodness-of-fit statistic that takes into account correlation between neighbouring residuals. We apply the new algorithm to the whole sample of 2580 binaries found in the OGLE photometric survey of the LMC and derive the photometric elements for 1931 systems. To obtain the statistical properties of the short-period binaries of the LMC we construct a well defined subsample of 938 eclipsing binaries with main-sequence B-type primaries. Correcting for observational selection effects, we derive the distributions of the fractional radii of the two components and their sum, the brightness ratios and the periods of the short-period binaries. Somewhat surprisingly, the results are consistent with a flat distribution in log P between 2 and 10 days.
- Stars: Binaries