Analysis of self-pulsating three-section DBR lasers