comnum.Edfa#
- class comnum.Edfa(*, gain_db=Ellipsis, nf_db=Ellipsis, fc_hz=Ellipsis)#
An ideal erbium-doped fibre amplifier: flat gain and white ASE.
The spontaneous-emission factor is
n_sp = (G·NF - 1)/(2(G - 1))and the ASE adds complex Gaussian noise of variance(G - 1) n_sp h f_c f_sper sample at the sampling ratef_s(OptiCommPyedfa). The defaults are those of OptiCommPy.- Parameters:
- apply(x, fs, rng)#
Amplify a field and add the ASE.
- Parameters:
- Returns:
the amplified field (complex128).
- Return type:
- Raises:
ValueError – for a gain that is not positive or a noise figure below 3 dB.
- noise_variance(fs)#
Variance of the ASE per sample.