Exemplo n.º 1
0
class SimpleFakeGpuRecon(Plugin, GpuPlugin):
    """
    A Plugin to apply a simple reconstruction with no dependancies
    """

    def __init__(self):
        super(SimpleFakeGpuRecon, self).__init__("SimpleFakeGpuRecon")
        self.sr = SimpleRecon()

    def populate_default_parameters(self):
        self.sr.populate_default_parameters()
        self.parameters = self.sr.parameters

    def process(self, data, output, processes, process):
        """
        """
        return self.sr.process(data, output, processes, process)

    def required_data_type(self):
        """
        The input for this plugin is ProjectionData

        :returns:  ProjectionData
        """
        return self.sr.required_data_type()

    def output_data_type(self):
        """
        The output of this plugin is VolumeData

        :returns:  VolumeData
        """
        return self.sr.output_data_type()

    def get_citation_inforamtion(self):
        return self.sr.get_citation_inforamtion()
Exemplo n.º 2
0
class SimpleFakeGpuRecon(Plugin, GpuPlugin):
    """
    A Plugin to apply a simple reconstruction with no dependancies
    """

    def __init__(self):
        super(SimpleFakeGpuRecon, self).__init__("SimpleFakeGpuRecon")
        self.sr = SimpleRecon()

    def populate_default_parameters(self):
        self.sr.populate_default_parameters()
        self.parameters = self.sr.parameters

    def process(self, data, output, processes, process):
        """
        """
        return self.sr.process(data, output, processes, process)

    def required_data_type(self):
        """
        The input for this plugin is ProjectionData

        :returns:  ProjectionData
        """
        return self.sr.required_data_type()

    def output_data_type(self):
        """
        The output of this plugin is VolumeData

        :returns:  VolumeData
        """
        return self.sr.output_data_type()

    def get_citation_inforamtion(self):
        return self.sr.get_citation_inforamtion()
Exemplo n.º 3
0
 def __init__(self):
     super(SimpleFakeGpuRecon, self).__init__("SimpleFakeGpuRecon")
     self.sr = SimpleRecon()
Exemplo n.º 4
0
 def __init__(self):
     super(SimpleFakeGpuRecon, self).__init__("SimpleFakeGpuRecon")
     self.sr = SimpleRecon()