Bugfix: Mirror one sideband before summing
This commit is contained in:
parent
7fcb1850a6
commit
43ec25f51d
@ -324,8 +324,10 @@ class Heterodyne(ASensor):
|
|||||||
t_signal = t_signal * 2
|
t_signal = t_signal * 2
|
||||||
t_background = t_background * 2
|
t_background = t_background * 2
|
||||||
else:
|
else:
|
||||||
t_signal = t_signal + t_signal.rebin(2 * self.__lambda_local_oscillator - t_signal.wl)
|
t_signal = SpectralQty(t_signal.wl, t_signal.qty + t_signal.rebin(
|
||||||
t_background = t_background + t_background.rebin(2 * self.__lambda_local_oscillator - t_background.wl)
|
2 * self.__lambda_local_oscillator - t_signal.wl).qty)
|
||||||
|
t_background = SpectralQty(t_background.wl, t_background.qty + t_background.rebin(
|
||||||
|
2 * self.__lambda_local_oscillator - t_background.wl).qty)
|
||||||
|
|
||||||
logger.debug("Spectral signal temperature")
|
logger.debug("Spectral signal temperature")
|
||||||
logger.debug(t_signal)
|
logger.debug(t_signal)
|
||||||
|
Loading…
Reference in New Issue
Block a user