Return types added
This commit is contained in:
parent
9a95468f40
commit
59d879d5df
@ -1,11 +1,12 @@
|
|||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
|
from .SpectralQty import SpectralQty
|
||||||
|
|
||||||
|
|
||||||
class ITransmissive(ABC):
|
class ITransmissive(ABC):
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def calcSignal(self):
|
def calcSignal(self) -> SpectralQty:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def calcNoise(self):
|
def calcNoise(self) -> SpectralQty:
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user