Robochameleon
v1.0
|
Linear EDFA model. More...
Inherits unit.
Public Member Functions | |
function | EDFA_v1 (in param) |
Class constructor. More... | |
function | traverse (in obj, in in) |
Amplify the signal and add ASE noise. More... | |
![]() | |
function | traverseNode (in obj) |
Set unique ID when creating a unit. More... | |
function | connectOutput (in obj, in uobj, in unitOutput, in nextUnitInput) |
Specify where signal should go next. More... | |
function | connectOutputs (in obj, in units, in destInputs) |
Specify where signal should go next. More... | |
function | writeInputBuffer (in obj, in sig, in inputId) |
write input buffer | |
function | horzcat (in varargin) |
horizontal concatenation | |
function | vertcat (in varargin) |
vertical concatenation | |
function | setparams (in obj, in params, in REQUIRED_PARAMS, in QUIET_PARAMS) |
set parameters More... | |
function | view (in obj) |
Show interactive GUI through unit_view-class. | |
Public Attributes | |
Property | nInputs |
Number of input arguments. | |
Property | nOutputs |
Number of output arguments. | |
Property | gain |
EDFA gain [dB]. | |
Property | NF |
EDFA noise figure [dB]. | |
![]() | |
Property | inputBuffer |
Buffer for storing inputs as we traverse the graph. | |
Property | nextNodes |
Children nodes. | |
Property | destInputs |
Destination inputs in children. | |
Property | results |
For storing results. | |
Property | label |
Property | draw |
enable/disable plotting | |
Property | nInputs |
Number of signals traverse expects. | |
Property | nOutputs |
Number of outputs traverse expects. | |
Linear EDFA model.
It amplify the input signal by multiplying the input field by the square root of the specified gain and it adds to it an Amplified Spontaneous Emission (ASE) noise, which power density is determined by the specified noise figure.
The noise power is determined as Noise spectral density * Sampling frequency. For a complex baseband signal the sampling frequency corresponds to the "simulation" bandwidth.
Example:
References:
function EDFA_v1::EDFA_v1 | ( | in | param | ) |
Class constructor.
Constructs an object of type EDFA_v1.
param.gain | Gain [dB]. |
param.NF | Noise figure [dB]. |
|
virtual |
Amplify the signal and add ASE noise.
in | The signal_interface of the signal to be amplified |
out | The signal_interface of the amplified signal with extra ASE noise |
Reimplemented from unit.