Add antenna temperature to system temperature

This commit is contained in:
Lukas Klass 2020-08-29 12:23:56 +02:00
parent c3c863979c
commit a5c8fdf33a

View File

@ -78,7 +78,7 @@ class Heterodyne(ASensor):
# Calculate the signal and background temperatures
t_signal, t_background = self.calcTemperatures(background, signal, obstruction)
line_ind = np.where(t_signal.wl == self.__lambda_line)[0][0]
t_sys = 2 * (t_background + self.__receiver_temp)
t_sys = 2 * (t_background + self.__receiver_temp + t_signal)
# Calculate the noise bandwidth
delta_nu = t_signal.wl.to(u.Hz, equivalencies=u.spectral()) / (t_signal.wl / self.__common_conf.wl_delta() + 1)
snr = []