Return types added

This commit is contained in:
Lukas Klass 2020-04-08 18:15:53 +02:00
parent 9a95468f40
commit 59d879d5df

View File

@ -1,11 +1,12 @@
from abc import ABC, abstractmethod
from .SpectralQty import SpectralQty
class ITransmissive(ABC):
@abstractmethod
def calcSignal(self):
def calcSignal(self) -> SpectralQty:
pass
@abstractmethod
def calcNoise(self):
def calcNoise(self) -> SpectralQty:
pass