:py:mod:`vamtoolbox.projectorconstructor` ========================================= .. py:module:: vamtoolbox.projectorconstructor Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: vamtoolbox.projectorconstructor.projectorconstructor .. py:function:: projectorconstructor(target_geo: vamtoolbox.geometry.TargetGeometry, proj_geo: vamtoolbox.geometry.ProjectionGeometry, optical_params=None) Constructor to create the projector based on the target size and projector type selected :param target_geo: :type target_geo: geometry.TargetGeometry :param proj_geo: :type proj_geo: geometry.ProjectionGeometry :returns: the projector object has methods forward() and backward() :rtype: Projector object .. rubric:: Examples >>> A = projectorconstructor(target_geo, proj_geo) >>> b = A.forward(x) # returns the forward projection (sinogram) >>> x_ = A.backward(b) # returns the backward projection (reconstruction)