Theoretical and experimental study of self-filtering effect in concatenated erbium-doped fiber amplifiers