Optical filter.
pypho_optfi.__init__(glova, Df, B, filtype, alpha, loss)
Instantiation and parameter setting.
Parameter | Type | Description |
---|---|---|
glova |
instance | Global parameters |
Df |
float | Frequency deviation of the signal in GHz. Default value is 0 GHz. |
B |
float | Filter bandwidth in GHz. Default value is 100 GHz. |
filtype |
string | Defines the filter curve. Default value is 'gauss' Available filter curves 'gauss' , 'rect' , 'cosrolloff' , 'gaussrolloff'. |
alpha |
float | Defines the alpha coefficicent for 'cosrolloff' , 'gaussrolloff'. Default value is 0.25. |
loss |
float | Defines the loss in dB of the filter curve at it's maximum. Default value is 0.0 dB. |
Output | Type | Description |
---|---|---|
User defined variable | pypho_optfi.pypho_optfi |
pypho_optfi.__call__(E, Df (optional), B (optional)), filtype (optional)), alpha (optional)), loss (optional))
Parameter | Type | Description |
---|---|---|
E |
list | List in which the optical data and noise signal are defined. 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. |
Fig. 1 : Different filter curves