Time-Resolved $Q$-factor Measurement and Its Application in Performance Analysis of 42.6 Gbit/s Packets Generated by SGDBR Lasers