OpenCLBackprojection#
- class patato.OpenCLBackprojection(n_pixels: Sequence[int], field_of_view: Sequence[float], **kwargs)#
Bases:
ReconstructionAlgorithm
An OpenCL implemntation of the photoacoustic backprojection.
Note: this class will be deprecated in future. It is maintained for backwards compatibility with non-nvidia GPUs.
Methods
__init__
(n_pixels, field_of_view, **kwargs)add_child
(child)get_algorithm_name
()pre_prepare_data
(x)reconstruct
(signal, fs, detectors, n_pixels, ...)run
(time_series, pa_data[, speed_of_sound, ...])