From 513eb6b1ae03c28a029630f79db7b825ac1e604b Mon Sep 17 00:00:00 2001 From: LukasK13 Date: Fri, 24 Apr 2020 17:11:53 +0200 Subject: [PATCH] calcNoise() renamed to calcBackground() --- esbo_etc/classes/IRadiant.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/esbo_etc/classes/IRadiant.py b/esbo_etc/classes/IRadiant.py index d2bdc16..8ebc2d0 100644 --- a/esbo_etc/classes/IRadiant.py +++ b/esbo_etc/classes/IRadiant.py @@ -4,7 +4,8 @@ from .SpectralQty import SpectralQty 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 def calcSignal(self) -> SpectralQty: @@ -19,13 +20,13 @@ class IRadiant(ABC): pass @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 ------- signal : SpectralQty - The emitted, reflected or transmitted noise + The emitted, reflected or transmitted background radiation """ pass