calcNoise() renamed to calcBackground()
This commit is contained in:
parent
513eb6b1ae
commit
67e08c2788
@ -61,7 +61,7 @@ class AOpticalComponent(IRadiant):
|
|||||||
The spectral flux density of the target's signal
|
The spectral flux density of the target's signal
|
||||||
"""
|
"""
|
||||||
signal = self.__parent.calcSignal()
|
signal = self.__parent.calcSignal()
|
||||||
info("Calculating Signal for class '" + self.__class__.__name__ + "'.")
|
info("Calculating signal for class '" + self.__class__.__name__ + "'.")
|
||||||
signal = self._propagate(signal) * (1 - self.__obstruction)
|
signal = self._propagate(signal) * (1 - self.__obstruction)
|
||||||
debug(signal)
|
debug(signal)
|
||||||
return signal
|
return signal
|
||||||
@ -76,7 +76,7 @@ class AOpticalComponent(IRadiant):
|
|||||||
The spectral radiance of the background
|
The spectral radiance of the background
|
||||||
"""
|
"""
|
||||||
parent = self.__parent.calcBackground()
|
parent = self.__parent.calcBackground()
|
||||||
info("Calculating Noise for class '" + self.__class__.__name__ + "'.")
|
info("Calculating background for class '" + self.__class__.__name__ + "'.")
|
||||||
parent = self._propagate(parent)
|
parent = self._propagate(parent)
|
||||||
if self.__obstructor_temp > 0 * u.K:
|
if self.__obstructor_temp > 0 * u.K:
|
||||||
bb = BlackBody(temperature=self.__obstructor_temp, scale=1. * u.W / (u.m ** 2 * u.nm * u.sr))
|
bb = BlackBody(temperature=self.__obstructor_temp, scale=1. * u.W / (u.m ** 2 * u.nm * u.sr))
|
||||||
|
Loading…
Reference in New Issue
Block a user