pypho_osnr

Amplifies the optical signal to a certain power value or by a gain factor.

 

pypho_osnr.__init__(glova)

Instantiation and parameter setting.

Parameter Type Description
glova instance Global parameters as defined in pypho_setup.

 

Output Type Description
User defined variable pypho_meanpow.pypho_meanpow  

 

pypho_osnr.__call__(E, OSNR (optional), f (optional))

Parameter Type Description
E list List which defines the optical data and noise signal. Read here about data signal and noise representation.
OSNR float OSNR in dB where noise power is normalized to 12.5 GHz.
f float Frequency at which the OSNR is set or read out.
Default value is gp.f.

 

Output Type Description
User defined variable User defined varable If OSNR is set in the call, then a list is returned in which the optical data and noise signal are defined (more).
The noise vector is scaled, so that the OSNR at the frequency f is set.

If no OSNR is defined in the call, then the return value is a float. The value is the OSNR at the frequency f.