vamtoolbox.projectorconstructor#
Module Contents#
Functions#
|
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:
target_geo (geometry.TargetGeometry) –
proj_geo (geometry.ProjectionGeometry) –
- 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)