calcNoise() renamed to calcBackground()

This commit is contained in:
Lukas Klass 2020-04-24 17:11:53 +02:00
parent bfe7d4e917
commit 513eb6b1ae

View File

@ -4,7 +4,8 @@ from .SpectralQty import SpectralQty
class IRadiant(ABC): class IRadiant(ABC):
""" """
Interface for getting the signal and the noise of a emitting, reflecting or transmitting component in the beam. Interface for getting the signal and the background radiation of a emitting, reflecting or transmitting component
in the beam.
""" """
@abstractmethod @abstractmethod
def calcSignal(self) -> SpectralQty: def calcSignal(self) -> SpectralQty:
@ -19,13 +20,13 @@ class IRadiant(ABC):
pass pass
@abstractmethod @abstractmethod
def calcNoise(self) -> SpectralQty: def calcBackground(self) -> SpectralQty:
""" """
Calculate the noise coming from the component Calculate the background radiation coming from the component
Returns Returns
------- -------
signal : SpectralQty signal : SpectralQty
The emitted, reflected or transmitted noise The emitted, reflected or transmitted background radiation
""" """
pass pass