Source code for optimeed.optimize.characterization.interfaceCharacterization
from abc import ABCMeta, abstractmethod
[docs]class InterfaceCharacterization(metaclass=ABCMeta):
"""Interface for the evaluation of a device"""
@abstractmethod
def compute(self, theDevice):
"""
Action to perform to characterize (= compute the objective function) of the device.
:param theDevice: the device to characterize
"""
pass