:py:mod:`vamtoolbox.projector.Projector2DParallel` ================================================== .. py:module:: vamtoolbox.projector.Projector2DParallel Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: vamtoolbox.projector.Projector2DParallel.Projector2DParallelAstra vamtoolbox.projector.Projector2DParallel.Projector2DParallelPython Attributes ~~~~~~~~~~ .. autoapisummary:: vamtoolbox.projector.Projector2DParallel.astra_available .. py:data:: astra_available :value: True .. py:class:: Projector2DParallelAstra(target_geo, proj_geo) .. py:method:: forward(target) Foward projector operation (b = Ax) .. py:method:: backward(sinogram) Backward projector operation (x = A^Tb) .. py:class:: Projector2DParallelPython(target_geo, proj_geo) .. py:method:: generateOccSinogram() Create sinogram containing minimum values of 's' within the occlusion map :returns: * **occ_sinogram** (*nd_array*) * *Npixels x Nangles* .. py:method:: forward(target) Computes forward Radon transform of the target space object accounting for reduced projection contribution due to occlusion shadowing Inputs --------------- target : nd_array Npixels x Npixels array that contains the target space object :returns: * **projection** (*nd_array*) * *Npixels x Nangles array of forward Radon transform with occlusion shadowing* .. py:method:: backward(b, clipping=True) Computes inverse Radon transform of projection accounting for reduced dose deposition due to occlusion shadowing Inputs --------------- projection : nd_array Npixels x Nangles array that contains the projection space sinogram of the target :returns: * **projection** (*nd_array*) * *Npixels x Npixels array of inverse Radon transform with occlusion shadowing* .. py:method:: getOccShadow(i, angle, t, s) .. py:method:: calcVisibility()