httomo.method_wrappers.sino360_to_180.Sino360to180Wrapper#
- class httomo.method_wrappers.sino360_to_180.Sino360to180Wrapper(method_repository: MethodRepository, module_path: str, method_name: str, comm: mpi4py.MPI.Comm, save_result: bool | None = None, output_mapping: Dict[str, str] = {}, **kwargs)[source]#
Wrapper to perform extended FoV (360degrees) data conversion to a standard 180 degrees data. The wrapper is responsible for changing the angles after the data has changed.
Methods
should_select_this_class(module_path, ...)Method to dermine if this class should be used for wrapper instantiation, given the module path and method name.
Attributes
task_idpattern- classmethod should_select_this_class(module_path: str, method_name: str) bool[source]#
Method to dermine if this class should be used for wrapper instantiation, given the module path and method name.
The make_method_wrapper function will iterate through all subclasses and evaluate this condition in the order of declaration, falling back to GenericMethodWrapper if all evaluate to False.
Therefore, deriving classes should override this method to indicate the criteria when they should be instantiated.