MPI Simulations and stuff
This commit is contained in:
@@ -41,6 +41,8 @@ classdef Photodiode
|
||||
% cast the inform. signal to electrical signal
|
||||
[signalclass_in, nase, lambda] = Electricalsignal(signalclass_in,"fs",obj.fsimu,"logbook",signalclass_in.logbook);
|
||||
|
||||
|
||||
|
||||
% append to logbook
|
||||
lbdesc = ['Photo Diode '];
|
||||
signalclass_in = signalclass_in.logbookentry(lbdesc);
|
||||
@@ -71,8 +73,8 @@ classdef Photodiode
|
||||
% Thermal Noise
|
||||
therm_current_psd = (2 * k * T / R ) ; %squared
|
||||
|
||||
Bw = obj.fsimu; %is this correct? shouldnt it be the bandwidth of the actual component? e.g. 70GHz?
|
||||
therm_noise_pow = therm_current_psd * 2 * Bw; %squared
|
||||
Bw = obj.fsimu;
|
||||
therm_noise_pow = therm_current_psd * Bw; %squared
|
||||
|
||||
therm_noise = sqrt(therm_noise_pow) .* randn(obj.randomstream,size(yout,1),1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user