Pulse Re-Shaping by Nonlinear Switching in Phase-Shifted Fiber Bragg Grating