vamtoolbox.projectorconstructor#

Module Contents#

Functions#

projectorconstructor(target_geo, proj_geo[, ...])

Constructor to create the projector based on the target size and projector type selected

vamtoolbox.projectorconstructor.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

Parameters:
Returns:

the projector object has methods forward() and backward()

Return type:

Projector object

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)