Return types added
This commit is contained in:
parent
9a95468f40
commit
59d879d5df
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user