Text this: Gain simulation of erbium-doped fiber amplifier /