We simulate the transition from amplified spontaneous emission (ASE) to lasing in random systems with varying degrees of mode overlap. This is accomplished by solving the stochastic Maxwell-Bloch equations with the finite-difference time-domain method. Below lasing threshold, the continuous emission spectra are narrowed by frequency-dependent amplification. Our simulations reproduce the... Show more