Laser output versus electrical input current of diode laser in free-running and Q-switched modes (at 100 Hz).