Amplifies the optical signal to a certain power value or by a gain factor.
pypho_oamp.__init__(glova, G, Pmean, Pmax, F)
Instantiation and parameter setting.
Parameter | Type | Description |
---|---|---|
glova |
instance | Global parameters as defined in pypho_setup. |
G |
float | Gain factor in dB. |
Pmean |
float | Output mean power $\frac{1}{T} \int _{ \tau=0 }^{ T } \left( \left\lvert E_x(\tau) \right\rvert^{ 2 } +\left\lvert E_y(\tau) \right\rvert^{ 2 }\right) d\tau $ in dBm. |
Pmax |
float | Maximum output power $ max \left( max \left( \left\lvert E_x(\tau) \right\rvert^{ 2 } \right), max \left( \left\lvert E_y(\tau) \right\rvert^{ 2 }\right) \right) $ in dBm. |
F |
float | Noise figure in dB. |
The user can choose between the mode of the amplifier by using
G
, Pmean
or Pmax
.
Output | Type | Description |
---|---|---|
User defined variable | pypho_meanpow.pypho_meanpow |
pypho_oamp.__call__(E, G (optional), Pmean (optional), Pmax (optional), F (optional))
Parameter | Type | Description |
---|---|---|
E |
numpy.ndarray | List which defines the optical data and noise signal. Read here about data signal and noise representation. |
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. |