removed PtychoEngine unnecessary methods

This commit is contained in:
2026-07-30 20:56:58 +09:00
parent 02293389a1
commit 19f3cff188
3 changed files with 42 additions and 118 deletions
+1 -21
View File
@@ -7,28 +7,8 @@ class PtychoEngine(ABC):
def __init__(self, config):
self.config = config
self._output = None
self._recon_object = None
self._recon_probe = None
self._metric = None
@abstractmethod
def run(self) -> None:
pass
@abstractmethod
def output(self) -> Any:
pass
@abstractmethod
def recon_object(self) -> Any:
pass
@abstractmethod
def recon_probe(self) -> Any:
pass
@abstractmethod
def metric(self) -> float:
def run(self, run_id="") -> None:
pass