:py:mod:`pytomography.transforms.SPECT.additive_term` ===================================================== .. py:module:: pytomography.transforms.SPECT.additive_term Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: pytomography.transforms.SPECT.additive_term.AdditiveTermTransform .. py:class:: AdditiveTermTransform(additive_term) Bases: :py:obj:`pytomography.transforms.Transform` The parent class for all transforms used in reconstruction (obj2obj, im2im, obj2im). Subclasses must implement the ``__call__`` method. :param device: Pytorch device used for computation :type device: str .. py:method:: forward(proj, padded = True) Adds an additive term to the projection data. :param proj: Projection data :type proj: torch.Tensor :param padded: Whether or not the projection data is padded. Defaults to True. :type padded: bool, optional :returns: Projection data with additive term added :rtype: torch.Tensor .. py:method:: backward(proj, padded = True) Returns the projection data without the additive term. :param proj: Projection data :type proj: torch.Tensor :param padded: Whether or not the projection data is padded. Defaults to True. :type padded: bool, optional :returns: Projection data without additive term :rtype: torch.Tensor