mirror of
https://github.com/c-sooyoung/bo-ptycho.git
synced 2026-09-17 23:29:07 +09:00
removed PtychoEngine unnecessary methods
This commit is contained in:
+1
-21
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user