pypho_meanpow

Amplifies the optical signal to a certain mean power value of the signal.

 

pypho_meanpow.__init__(glova, power, unit)

Instantiation and parameter setting.

Parameter Type Description
glova instance Global parameters
power float Mean signal power in dBm or W. Unit can be defined by unit
unit string Unit of the mean signal power:
'dBm' (default value) or 'W'

 

Output Type Description
User defined variable pypho_meanpow.pypho_meanpow  

 

pypho_meanpow.__call__(esig, power (optional), unit (optional))

Parameter Type Description
esig numpy.ndarray Electrical signal representing a bitsequence.
Optional paramter   As defined above

 

Output Type Description
User defined variable list Returns a list in which the optical data and noise signal are defined. Read here about data signal and noise representation.