Source code for mantidimaging.core.reconstruct

# Copyright (C) 2022 ISIS Rutherford Appleton Laboratory UKRI
# SPDX - License - Identifier: GPL-3.0-or-later

from .astra_recon import AstraRecon
from .tomopy_recon import TomopyRecon
from .cil_recon import CILRecon
from .base_recon import BaseRecon


[docs] def get_reconstructor_for(algorithm: str) -> BaseRecon: if algorithm == "gridrec": return TomopyRecon() if algorithm.startswith("CIL"): return CILRecon() else: return AstraRecon()